| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 225296
|
| |
|
|
|
|
|
|
| |
Some functions are implemented using hand-written LLVM IR, and
LLVM assembly format is allowed to change between versions, so we
should require a specific version of LLVM.
llvm-svn: 225041
|
| |
|
|
|
|
|
|
| |
v2: use space instead of '=' to make Mac happy
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Jeroen Ketema <j.ketema@imperial.ac.uk>
llvm-svn: 216922
|
| |
|
|
| |
llvm-svn: 216126
|
| |
|
|
|
|
|
|
| |
These do not import the code specific to nvidiacl
Patch by: Jeroen Ketema
llvm-svn: 201431
|
| |
|
|
|
|
|
|
|
| |
This reverts commit r200413.
This was breaking the build on systems where the python 2.x executable
was called python.
llvm-svn: 201239
|
| |
|
|
|
|
|
|
|
| |
This is necessary for building with Ninja because it does not allow
duplicate rule names.
Patch by: Dan Liew
llvm-svn: 200415
|
| |
|
|
|
|
|
|
|
|
| |
We use ${DESTDIR} syntax now instead of $(DESTDIR) because that syntax
works both is the shell (at least it does for bash) and for make (at
least it does for GNU Make)
Patch By: Dan Liew
llvm-svn: 200414
|
| |
|
|
|
|
| |
Patch by: Dan Liew
llvm-svn: 200413
|
| |
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 198168
|
| |
|
|
|
| |
Reviewed-by: Aaron Watry <awatry@gmail.com>
llvm-svn: 198167
|
| |
|
|
| |
llvm-svn: 195023
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The C++ compiler used to build prepare-builtins
may differ from the llvm/clang for which we are
building libclc.
Use 'clang++' as the default compiler.
Patch by: Jeroen Ketema
llvm-svn: 193220
|
| |
|
|
|
|
|
| |
This script generates implementations for the entire set of convert_*
functions,
llvm-svn: 192385
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two implementations of nextafter():
1. Using clang's __builtin_nextafter. Clang replaces this builtin with
a call to nextafter which is part of libm. Therefore, this
implementation will only work for targets with an implementation of
libm (e.g. most CPU targets).
2. The other implementation is written in OpenCL C. This function is
known internally as __clc_nextafter and can be used by targets that
don't have access to libm.
llvm-svn: 192383
|
| |
|
|
|
|
|
|
|
|
| |
libclc is ABI-agnostic, and $prefix/lib/pkgconfig causes issues
on multilib setups. Using $prefix/share/pkgconfig allows us to reuse
a single libclc build across all system ABIs.
Patch by: Michał Górny
llvm-svn: 190107
|
| |
|
|
| |
llvm-svn: 188129
|
| |
|
|
| |
llvm-svn: 184991
|
| |
|
|
|
|
| |
Patch by: Niels Ole Salscheider
llvm-svn: 184990
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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-svn: 184982
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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'
Patch by: Johannes Obermayr
llvm-svn: 184981
|
| |
|
|
|
|
|
| |
This includes a get_global_id() implementation and function stubs for
the other workitem and synchronization functions.
llvm-svn: 184975
|
| |
|
|
|
|
| |
Donaldson!
llvm-svn: 169362
|
| |
|
|
| |
llvm-svn: 157821
|
| |
|
|
|
|
| |
uncovered when doing so.
llvm-svn: 157617
|
| |
|
|
| |
llvm-svn: 157589
|
|
|
llvm-svn: 147756
|