1 #ifndef STAN_MATH_OPENCL_TRANSPOSE_HPP 2 #define STAN_MATH_OPENCL_TRANSPOSE_HPP 27 }
catch (
const cl::Error&
e) {
const kernel_cl< out_buffer, in_buffer, int, int > transpose("transpose", {indexing_helpers, transpose_kernel_code})
See the docs for transpose() .
The matrix_cl class - allocates memory space on the OpenCL device, functions for transfering matrices...
Represents a matrix on the OpenCL device.
checking OpenCL error numbers
matrix_cl transpose(const matrix_cl &src)
Takes the transpose of the matrix on the OpenCL device.
double e()
Return the base of the natural logarithm.
void check_opencl_error(const char *function, const cl::Error &e)
Throws the domain error with specifying the OpenCL error that occured.