39fdab1d66bd3374c6de31bb8d890b911391c1fa |
30-Nov-2012 |
Johannes Obermayr <johannesobermayr@gmx.de> |
clover: Adapt libclc's INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc. Tom Stellard: -Keep --with-libclc-path and mark it deprecated. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> (cherry picked from commit 959e83d65075513f989cb1fe634dca314a7e185f)
akefile.am
lvm/invocation.cpp
|
5a36510f71fa9e348b094b4b88c6639b0850e5e4 |
04-Dec-2012 |
Johannes Obermayr <johannesobermayr@gmx.de> |
clover: Install CL headers. Note: This is a candidate for the stable branches. (cherry picked from commit b361bb3de4bd8d27f6fcb920e5516e51db00ef73)
akefile.am
|
87280d56a375fcfc9231e72963439f9a370c408a |
23-Aug-2012 |
Blaž Tomažič <blaz.tomazic@gmail.com> |
clover: Accept CL_MEM_READ_WRITE flag Fix API functions for memory objects to accept CL_MEM_READ_WRITE flag. Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com> [ Francisco Jerez: Drop incorrect change in clCreateSubBuffer. ]
pi/memory.cpp
|
1d21bd057a6b1701dd44a79e82259c0f3ded2b70 |
28-Jun-2012 |
Tom Stellard <tstellar@gmail.com> |
clover: Handle NULL devs argument in clBuildProgram If devs is NULL, then the kernel should be compiled for all devices associated with the program.
pi/program.cpp
|
c6bb41c28b2da269d5b692d1d0f4acbf3cdd4b5c |
28-Jun-2012 |
Francisco Jerez <currojerez@riseup.net> |
clover: Define non-templated copy constructor for clover::ref_ptr. The templated copy constructor doesn't prevent the compiler from emitting a default copy constructor, which leads to inconsistent memory handling and was reported to cause segfaults when doing event manipulation. Reported-by: Tom Stellard <thomas.stellard@amd.com>
ore/base.hpp
|
ca8fa0230896727af81ee54197f6e2233d49481d |
21-Jun-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Add a function internalizer pass before LTO v2 The function internalizer pass marks non-kernel functions as internal, which enables optimizations like function inlining and global dead-code elimination. v2: - Pass vector arguments by const reference
lvm/invocation.cpp
|
ea76f0331011337cc4b7caac8f25947501a5aef9 |
15-Jun-2012 |
Tom Stellard <tstellar@gmail.com> |
clover: Add --with-clang-libdir option and verify CLANG_RESOURCE_DIR $CLANG_RESOURCE_DIR is the directory that contains all resources needed by clang to compile programs. When clover uses clang to compile kernels it needs to specify a resource dir, so that clang can find its internal headers (e.g. stddef.h). clang defines $CLANG_RESOURCE_DIR as $CLANG_LIBDIR/clang/$CLANG_VERSION This patch adds the --with-clang-libdir option in order to accommodate clang intalls to non-standard locations, and it also adds a check to the configure script to verify that $CLANG_RESOURCE_DIR/include contains the necessary header files.
akefile.am
|
46a13b3b11d859e131399853c11ae2be0eb02f0a |
24-Apr-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Add function for building a clover::module for non-TGSI targets v6 v2: -Separate IR type and LLVM triple -Do the OpenCL C->LLVM IR and linking steps for all PIPE_SHADER_IR types. v3: - Coding style fixes - Removed compatibility code for LLVM < 3.1 - Split build_module_llvm() into three functions: compile(), link(), and build_module_llvm() v4: - Use struct pipe_compute_program v5: - Don't malloc memory for struct pipe_llvm_program v6: - Fix serialization of llvm bytecode Reviewed-by: Francisco Jerez <currojerez@riseup.net>
ore/compiler.hpp
ore/program.cpp
lvm/invocation.cpp
|
741463e18d8235025de649210e7f88a1b6e7af5a |
25-May-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Remove target argument from compile_program_tgsi() Reviewed-by: Francisco Jerez <currojerez@riseup.net>
ore/compiler.hpp
ore/program.cpp
gsi/compiler.cpp
|
d724190bce7a10becfb378cad7ef9886ee4d2c8c |
24-Apr-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Add constructors to some of the module classes v3 This is for the llvm code that can't use extended initializers. v2: - Use const references for vector arguments - Move constructor defs before data members - Initialize all values in the default constructors v3: - Fix typo
ore/module.hpp
|
5cc08efe8f708633271adc16208f020d79ddca46 |
24-Apr-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Add necessary flags to libclllvm_la_CXXFLAGS $(LLVM_CFLAGS) for LLVM defines -DLIBCLC_PATH for libclc path -DCLANG_RESOURCE_DIR for clang includes $(DEFINES) for -DHAVE_LLVM
akefile.am
|
613323b2564babc1ecaac25a6cfd786b8c839315 |
23-Apr-2012 |
Tom Stellard <thomas.stellard@amd.com> |
clover: Add a function for retrieving a device's preferred ir v3 A device now has two function for getting information about the IR it needs to return. ir_format() => returns the preferred IR ir_target() => returns the triple for the target that is understood by clang/llvm. v2: - renamed ir_target() to ir_format() - renamed llvm_triple() to ir_target() v3: - Remove unnecessary include - Do proper conversion from std::vector<char> to std::string Reviewed-by: Francisco Jerez <currojerez@riseup.net>
ore/device.cpp
ore/device.hpp
|
03e3bc4ba56f1021899a5f773b6ec21893619e3a |
16-May-2012 |
Francisco Jerez <currojerez@riseup.net> |
gallium/auxiliary/pipe-loader: Fix usage of anonymous union. Anonymous unions aren't part of the C99 standard. Fixes build on GCC versions older than 4.6. https://bugs.freedesktop.org/show_bug.cgi?id=50001 Reported-by: Michael Lange <michaell@gmx.org>
ore/device.cpp
|
821c34ecd9921e7478c8775905bf887b7513100c |
14-May-2012 |
Paul Berry <stereotype441@gmail.com> |
Add .gitignore files for recently-added gallium projects This patch adds .gitignore files to ignore the makefiles generated by the gallium pipe loader and the clover OpenCL state tracker. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
gitignore
|
b70736fa82c29e83a5ad222f58cfe8aa3b910c88 |
12-May-2012 |
Francisco Jerez <currojerez@riseup.net> |
clover: Fix build on i386.
ore/device.cpp
|
fcab4d4a34a28ec153612e41d5850884c5ccbfb9 |
12-May-2012 |
Francisco Jerez <currojerez@riseup.net> |
clover: Check the total work-group size provided to clEnqueueNDRangeKernel.
pi/kernel.cpp
|
5c9bccc97e9fb0776f2ca5bb57e55116a7efb43b |
12-May-2012 |
Christoph Bumiller <e0425955@student.tuwien.ac.at> |
clover, gallium: add PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK This is not necessarily the product of MAX_BLOCK_SIZE[i]. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
pi/device.cpp
ore/device.cpp
ore/device.hpp
|
60e7b08101295099618a3c1f879440b257265253 |
04-May-2012 |
Francisco Jerez <currojerez@riseup.net> |
clover: Implement CL_MEM_COPY_HOST_PTR.
ore/memory.cpp
ore/queue.hpp
ore/resource.cpp
ore/resource.hpp
|
c6db1b3396384186aab5b685fe1fd540e17b3a62 |
20-Apr-2012 |
Francisco Jerez <currojerez@riseup.net> |
clover: Import OpenCL state tracker.
oxyfile
akefile.am
pi/context.cpp
pi/device.cpp
pi/event.cpp
pi/kernel.cpp
pi/memory.cpp
pi/platform.cpp
pi/program.cpp
pi/queue.cpp
pi/sampler.cpp
pi/transfer.cpp
pi/util.hpp
ore/base.hpp
ore/compat.hpp
ore/compiler.hpp
ore/context.cpp
ore/context.hpp
ore/device.cpp
ore/device.hpp
ore/event.cpp
ore/event.hpp
ore/format.cpp
ore/format.hpp
ore/geometry.hpp
ore/kernel.cpp
ore/kernel.hpp
ore/memory.cpp
ore/memory.hpp
ore/module.cpp
ore/module.hpp
ore/program.cpp
ore/program.hpp
ore/queue.cpp
ore/queue.hpp
ore/resource.cpp
ore/resource.hpp
ore/sampler.cpp
ore/sampler.hpp
lvm/invocation.cpp
gsi/compiler.cpp
|