Age | Commit message (Collapse) | Author |
|
Since we now use C++ exceptions inside the implementation (and exceptions
can be thrown from constructors), there is no need for a separate
Routine::SetUp() function.
For this, we also change the way how the kernel source string is constructed.
The kernel-specific source code is now passed to the Routine ctor via
an initializer_list of C strings to avoid unnecessary data copying
while also working around C1091 of MSVC 2013.
|
|
Since the codebase is designed around proper C++ idioms such as RAII, it
makes sense to only use C++ exceptions internally instead of mixing
exceptions and error codes. The exceptions are now caught at top level
to preserve compatibility with the existing error code-based API.
Note that we deliberately do not catch C++ runtime errors (such as
`std::bad_alloc`) nor logic errors (aka failed assertions) because no
actual handling can ever happen for such errors.
However, in the C interface we do catch _all_ exceptions (...) and
convert them into a wild-card error code.
|
|
|
|
|
|
|
|
library compilation
|
|
Fixes for static lib compilation on Windows
|
|
|
|
|
|
variable in a namespace and its container uses const-pointers to the actual data
|
|
|
|
Add option to build shared or static library
|
|
|
|
|
|
Support for Visual Studio 2013
|
|
|
|
|
|
MSVC 2013
|
|
|
|
and 2015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Intel GPUs
|
|
|
|
|
|
|
|
GEMM kernels
|
|
kernel
|
|
for the GEMM direct kernels
|
|
incomplete rectangles
|
|
|
|
transposing/non-transposing: NN, NT, TN, TT
|
|
to 256-256-256
|
|
|
|
default for the GEMM direct kernel
|
|
|
|
times; requires CLTune 2.5.0
|
|
|
|
|
|
reproducability of results
|
|
|
|
Link clBLAS together with pthread
|
|
|
|
|
|
NWGD and KWGD into one WGD parameter
|