Searched refs:kernel_sstr (Results 1 – 5 of 5) sorted by relevance
/external/OpenCL-CTS/test_conformance/subgroups/ |
D | test_queries.cpp | 49 std::stringstream kernel_sstr; in test_sub_group_info() local 52 kernel_sstr << "#pragma OPENCL EXTENSION cl_khr_subgroups : enable\n"; in test_sub_group_info() 54 kernel_sstr in test_sub_group_info() 68 const std::string &kernel_str = kernel_sstr.str(); in test_sub_group_info()
|
D | test_workitem.cpp | 201 std::stringstream kernel_sstr; in test_work_item_functions() local 204 kernel_sstr << "#pragma OPENCL EXTENSION cl_khr_subgroups : enable\n"; in test_work_item_functions() 206 kernel_sstr in test_work_item_functions() 228 const std::string &kernel_str = kernel_sstr.str(); in test_work_item_functions()
|
D | subhelpers.h | 1270 std::stringstream kernel_sstr; 1273 kernel_sstr << "#define WORK_ITEMS_MASK "; 1274 kernel_sstr << "0x" << std::hex << test_params.work_items_mask 1279 kernel_sstr << "#define NR_OF_ACTIVE_WORK_ITEMS "; 1280 kernel_sstr << NR_OF_ACTIVE_WORK_ITEMS << "\n"; 1291 kernel_sstr << "#pragma OPENCL EXTENSION cl_khr_fp64: enable\n"; 1295 kernel_sstr << "#pragma OPENCL EXTENSION cl_khr_fp16: enable\n"; 1308 kernel_sstr << "#pragma OPENCL EXTENSION " + extension 1317 kernel_sstr 1320 kernel_sstr << "#define XY(M,I) M[I].x = get_sub_group_local_id(); " [all …]
|
/external/OpenCL-CTS/test_conformance/extensions/cl_ext_cxx_for_opencl/ |
D | cxx_for_opencl_ver.cpp | 28 const char *kernel_sstr = in test_cxx_for_opencl_version() local 33 const size_t lengths[1] = { std::string{ kernel_sstr }.size() }; in test_cxx_for_opencl_version() 36 clCreateProgramWithSource(context, 1, &kernel_sstr, lengths, &error); in test_cxx_for_opencl_version()
|
D | cxx_for_opencl_ext.cpp | 30 const char *kernel_sstr = in test_cxx_for_opencl() local 45 context, &program, &kernel1, 1, &kernel_sstr, "k1", "-cl-std=CLC++"); in test_cxx_for_opencl()
|