![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
Initialization for OpenCL: More...
#include <stan/math/opencl/constants.hpp>
#include <stan/math/opencl/err/check_opencl.hpp>
#include <stan/math/prim/scal/err/system_error.hpp>
#include <CL/cl.hpp>
#include <string>
#include <iostream>
#include <fstream>
#include <map>
#include <vector>
#include <cmath>
#include <cerrno>
Go to the source code of this file.
Classes | |
class | stan::math::opencl_context_base |
The opencl_context_base class represents an OpenCL context in the standard Meyers singleton design pattern. More... | |
struct | stan::math::opencl_context_base::tuning_struct |
class | stan::math::opencl_context |
The API to access the methods and values in opencl_context_base. More... | |
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
stan::math::opencl | |
Macros | |
#define | DEVICE_FILTER CL_DEVICE_TYPE_ALL |
Functions | |
template<int N> | |
cl::size_t< N > | stan::math::opencl::to_size_t (const size_t(&values)[N]) |
A helper function to convert an array to a cl::size_t<N>. More... | |
template<> | |
cl::size_t< 3 > | stan::math::opencl::to_size_t (const size_t(&values)[3]) |
A template specialization of the helper function to convert an array to a cl::size_t<3>. More... | |
Variables | |
static opencl_context | stan::math::opencl_context |
Initialization for OpenCL:
Definition in file opencl_context.hpp.
#define DEVICE_FILTER CL_DEVICE_TYPE_ALL |
Definition at line 5 of file opencl_context.hpp.