Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
check_opencl.hpp File Reference

checking OpenCL error numbers More...

#include <stan/math/prim/scal/err/system_error.hpp>
#include <CL/cl.hpp>
#include <iostream>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

void stan::math::check_opencl_error (const char *function, const cl::Error &e)
 Throws the domain error with specifying the OpenCL error that occured. More...
 

Detailed Description

checking OpenCL error numbers

Definition in file check_opencl.hpp.


     [ Stan Home Page ] © 2011–2018, Stan Development Team.