Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Fixes clGetKernelWorkGroupInfo to work well with both 32-bit and 64-bit systems
|
|
In LocalMemUsage(), there's a first call to clGetKernelWorkGroupInfo
to get the "bytes" amount needed to store the result from
CL_KERNEL_LOCAL_MEM_SIZE. However, the actual value passed is an
"auto result = size_t", which in 32-bit mode is 4 bytes, regardless
of the previous return value. The spec describes that it will actually
be a cl_ulong which is 8 bytes. To prevent stack corruption, make sure
we are in fact passing a cl_ulong.
Also adjust all callers to take the changed type into account.
|
|
|
|
|
|
declspec(dllimport) when not building the library
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'artifact'
|
|
|
|
is present
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
succesfull error-code checks in the correctness tests
|
|
now printing when a library is called
|
|
(thanks to OursDesCavernes)
|
|
|
|
Refactoring of the Routine class and file-renaming
|
|
|
|
|
|
|
|
|
|
templated function
|
|
them directly now
|
|
class
|
|
|
|
functions in a separate file
|
|
and/or transposing
|
|
|
|
and renamed files and functions appropriately
|
|
|
|
|
|
routines
|
|
|
|
GPUs
|
|
clBLAS
|
|
|