Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
compiler_local_memory_barrier.cpp
compiler_local_memory_barrier_wg64.cpp
compiler_movforphi_undef.cpp
+ runtime_createcontext.cpp
utest_assert.cpp
utest.cpp
utest_file_map.cpp
--- /dev/null
+#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);