blob: b90e9158a3ced4f8b7a40a38098f1c94d33e211c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "utest_helper.hpp"
void runtime_createcontextfromtype(void) {
cl_int status;
if (clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU, NULL, NULL, &status) == NULL) {
OCL_THROW_ERROR("runtime_createcontextfromtype", status);
}
}
MAKE_UTEST_FROM_FUNCTION(runtime_createcontextfromtype);
|