Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Much more understandable/readable as a result, and probably more efficient.
|
|
This implementation does a lot of bit shifting and masking. Suffice to say,
this is somewhat suboptimal... but it does look to produce correct results
(after the piglit tests were corrected for sign extension issues).
Someone who knows LLVM better than I could re-write this more efficiently.
|
|
Max(x,y) is available for all integer/floating types.
|
|
Created under a new shared/ directory for functions which are available for
both integer and floating point types.
|
|
|
|
Adds this function for both int and floating data types.
|
|
|
|
|
|
|
|
|
|
|
|
static functions are not allowed in OpenCL C
|
|
These functions were not being compiled
|
|
|
|
|
|
Targets can override generic implementations by adding a file called
OVERRIDES in $(TARGET_DIR)/lib and listing the generic implementations
that it wants to override. For example, to override get_group_id() and
get_global_size() you would add these lines to the OVERRIDES file:
workitem/get_group_id.cl
workitem/get_global_size.cl
|
|
LLVM IR"
This reverts commit 327f78fd8474eb5e0bd13aaba6c9c4dcc9cd1f1d.
|
|
- First introducing a versioning scheme
- Add --libexecdir, --includedir and --pkgconfigdir and prefill them as well as --prefix
- Build all targets by default
- Create clc.pc and install it in $pkgconfigdir
- Use clang++ instead of c++
- Rename builtins.bc to built_libs/$triple.bc and install them in $libexecdir
- Includes are installed recursively to $includedir
- Finally add $(DESTDIR) for 'make install'
|
|
|
|
|
|
This allows libclc to be built for R600 with upstream clang and LLVM.
|
|
|
|
Conflicts:
generic/include/clc/synchronization/barrier.h
generic/include/clc/workitem/get_global_id.h
generic/include/clc/workitem/get_global_size.h
generic/include/clc/workitem/get_group_id.h
generic/include/clc/workitem/get_local_id.h
generic/include/clc/workitem/get_local_size.h
generic/include/clc/workitem/get_num_groups.h
|
|
This reverts commit 2713c4ebaf42a1def1141005ff61eb2074ef0097.
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@165386 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@165385 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@163227 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@162274 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@162273 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
from being linked into the library under lazy linkage.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161314 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
to lib, and add header files in generic. Incorporates a patch by
Tom Stellard!
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161313 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161312 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161311 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157821 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
|
|
|
|
|
|
|
|
This includes a get_global_id() implementation and function stubs for
the other workitem and synchronization functions.
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157629 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
uncovered when doing so.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157617 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157615 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157614 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157613 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157599 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
native_log2. Patch by Joshua Cranmer!
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157598 91177308-0d34-0410-b5e6-96231b3b80d8
|
|
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157597 91177308-0d34-0410-b5e6-96231b3b80d8
|