/external/OpenCL-CTS/test_conformance/contractions/ |
D | contractions.cpp | 948 const char *kernelName[] = { "kernel1", "kernel2", "kernel3", "kernel4", in RunTest() local 969 cl_kernel k = clCreateKernel( gProgram[ vectorSize ], kernelName[ testNumber ], &error ); in RunTest() 972 …vlog_error( "%d) Unable to find kernel \"%s\" for vector size: %d\n", error, kernelName[ testNumbe… in RunTest() 1025 …rror for %s %s: %a * %a + %a = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1027 …rror for %s %s: %a * %a - %a = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1029 …rror for %s %s: %a + %a * %a = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1031 …rror for %s %s: %a - %a * %a = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1035 …r for %s %s: -(%a * %a + %a) = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1037 …r for %s %s: -(%a * %a - %a) = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() 1039 …r for %s %s: -(%a + %a * %a) = *%a vs. %a\n", i, sizeNames[ vectorSize], kernelName[ testNumber ], in RunTest() [all …]
|
/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_limits.cpp | 175 const char *kernelName[] = { "test_multiple_pipe_write", in test_pipe_max_args() local 222 kernelName[0]); in test_pipe_max_args() 226 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_max_args() 285 const char *kernelName[] = { "test_pipe_max_packet_size_write", in test_pipe_max_packet_size() local 371 kernelName[0]); in test_pipe_max_packet_size() 375 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_max_packet_size() 430 const char *kernelName[3] = { "test_pipe_max_active_reservations_write", in test_pipe_max_active_reservations() local 535 kernelName[0]); in test_pipe_max_active_reservations() 539 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_max_active_reservations() 543 kernel[2] = clCreateKernel(program, kernelName[2], &err); in test_pipe_max_active_reservations()
|
D | test_pipe_readwrite_errors.cpp | 83 const char *kernelName[] = { "test_pipe_write_error", in test_pipe_readwrite_errors() local 120 (const char **)&pipe_readwrite_errors_kernel_code, kernelName[0]); in test_pipe_readwrite_errors() 124 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_readwrite_errors()
|
D | test_pipe_query_functions.cpp | 104 const char *kernelName[] = { "test_pipe_write", "test_pipe_read", in test_pipe_query_functions() local 145 (const char **)&pipe_query_functions_kernel_code, kernelName[0]); in test_pipe_query_functions() 149 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_query_functions() 153 kernel[2] = clCreateKernel(program, kernelName[2], &err); in test_pipe_query_functions()
|
D | test_pipe_subgroups.cpp | 108 const char *kernelName[] = { "test_pipe_subgroups_divergence_write", in test_pipe_subgroups_divergence() local 151 (const char **)&pipe_subgroups_kernel_code, kernelName[0]); in test_pipe_subgroups_divergence() 155 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_subgroups_divergence()
|
D | test_pipe_read_write.cpp | 455 void *inptr[5], const char *kernelName[], int (*fn)(void *, void *, int) ) in test_pipe_readwrite() argument 535 sources, kernelName[ii]); in test_pipe_readwrite() 540 kernel[ii + 1] = clCreateKernel(program[i], kernelName[ii + 1], &err); in test_pipe_readwrite() 616 const char *kernelCode, const char *kernelName[]) in test_pipe_readwrite_struct_generic() argument 662 &kernelCode, kernelName[0]); in test_pipe_readwrite_struct_generic() 666 kernel[1] = clCreateKernel(program, kernelName[1], &err); in test_pipe_readwrite_struct_generic()
|
/external/OpenCL-CTS/test_common/harness/ |
D | kernelHelpers.h | 74 const char **kernelProgram, const char *kernelName, 80 const char *kernelName, const char *buildOptions); 102 const char *kernelName, const char *buildOptions = NULL);
|
D | kernelHelpers.cpp | 170 std::string kernelName = get_kernel_name(kernel); in get_unique_filename_prefix() local 173 oss << kernelName << std::hex << std::setfill('0') << std::setw(8) in get_unique_filename_prefix() 571 std::string kernelName = in create_single_kernel_helper_create_program_offline() local 578 gCompilationCachePath, kernelName); in create_single_kernel_helper_create_program_offline() 730 const char *kernelName, const char *buildOptions) in create_single_kernel_helper_with_build_options() argument 734 kernelName, buildOptions); in create_single_kernel_helper_with_build_options() 742 const char *kernelName, in create_single_kernel_helper() argument 807 kernelName, newBuildOptions.c_str()); in create_single_kernel_helper() 814 const char *kernelName, const char *buildOptions) in build_program_create_kernel_helper() argument 970 if (kernelName != NULL) in build_program_create_kernel_helper() [all …]
|
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | test_popcount.cpp | 169 char kernelName[128]; in test_popcount() local 170 …snprintf( kernelName, sizeof( kernelName ), "test_popcount_%s%s", test_str_names[type], vector_siz… in test_popcount() 172 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_popcount()
|
D | test_add_sat.cpp | 292 char kernelName[128]; in test_integer_add_sat() local 293 …snprintf( kernelName, sizeof( kernelName ), "test_add_sat_%s%s", test_str_names[type], vector_size… in test_integer_add_sat() 296 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_integer_add_sat() 300 …per(context, &program, &kernel, sizeof( sourceV3 ) / sizeof( sourceV3[0] ), sourceV3, kernelName ); in test_integer_add_sat()
|
D | test_sub_sat.cpp | 293 char kernelName[128]; in test_integer_sub_sat() local 294 …snprintf( kernelName, sizeof( kernelName ), "test_sub_sat_%s%s", test_str_names[type], vector_size… in test_integer_sub_sat() 297 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_integer_sub_sat() 299 …per(context, &program, &kernel, sizeof( sourceV3 ) / sizeof( sourceV3[0] ), sourceV3, kernelName ); in test_integer_sub_sat()
|
D | test_abs.cpp | 261 char kernelName[128]; in test_integer_abs() local 262 …snprintf( kernelName, sizeof( kernelName ), "test_abs_%s%s", test_str_names[type], vector_size_nam… in test_integer_abs() 263 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_integer_abs()
|
D | test_absdiff.cpp | 283 char kernelName[128]; in test_integer_abs_diff() local 284 …snprintf( kernelName, sizeof( kernelName ), "test_absdiff_%s%s", test_str_names[type], vector_size… in test_integer_abs_diff() 286 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_integer_abs_diff()
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | main.cpp | 183 void operator ()(const std::string& testName, const std::string& kernelName) { in operator ()() 6018 const char *kernelName) : in LinkageTestService() argument 6020 m_kernelName(kernelName), in LinkageTestService() 6180 std::string kernelName(HOSTVAL_IMAGE_DESC); in test_image_enumeration() local 6181 kernelName.append("_"); in test_image_enumeration() 6182 kernelName.append(it.getImageTypeName()); in test_image_enumeration() 6201 clKernelWrapper kernel = create_kernel_helper(prog, kernelName); in test_image_enumeration() 6248 (SuccE)(it.toString(), kernelName); in test_image_enumeration() 6253 (FailE)(it.toString(), kernelName); in test_image_enumeration() 6258 (FailE)(it.toString(), kernelName); in test_image_enumeration() [all …]
|
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/ |
D | system.cpp | 826 std::string kernelName; in callbackEvent() local 834 msgpack_errors += map_lookup_string(element, ".name", &kernelName); in callbackEvent() 849 kernelName.c_str(), kernel_segment_size); in callbackEvent() 850 KernelNameMap[symbolName] = kernelName; in callbackEvent() 907 DEBUG_PRINT("[%s: kernarg seg size] (%lu --> %u)\n", kernelName.c_str(), in callbackEvent() 911 KernelInfoTable[gpu][kernelName] = info; in callbackEvent() 946 std::string kernelName = KernelNameMap[std::string(name)]; in callbackEvent() local 950 if (KernelInfoTable[gpu].find(kernelName) == KernelInfoTable[gpu].end()) { in callbackEvent() 955 info = KernelInfoTable[gpu][kernelName]; in callbackEvent() 974 kernelName.c_str(), info.kernel_object, info.group_segment_size, in callbackEvent() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_hiloeo.cpp | 189 char kernelName[128]; in test_hiloeo() local 190 …snprintf( kernelName, sizeof( kernelName ), "test_%s_%s%s", operatorToUse_names[ operatorToUse ], … in test_hiloeo() 191 …el_helper(context, &program, &kernel, sizeof( source ) / sizeof( source[0] ), source, kernelName ); in test_hiloeo()
|
D | test_readimage3d.cpp | 119 const char* kernelName; in test_readimage3d() member 174 …(context, &program, &kernel, 1, &formatsToTest[i].kernelSourceString, formatsToTest[i].kernelName); in test_readimage3d()
|
/external/llvm-project/mlir/lib/Conversion/GPUCommon/ |
D | ConvertLaunchFuncToRuntimeCalls.cpp | 538 std::vector<char> kernelName(name.begin(), name.end()); in generateKernelNameConstant() local 539 kernelName.push_back('\0'); in generateKernelNameConstant() 544 loc, builder, globalName, StringRef(kernelName.data(), kernelName.size()), in generateKernelNameConstant() 607 auto kernelName = generateKernelNameConstant( in matchAndRewrite() local 610 loc, rewriter, {module.getResult(0), kernelName}); in matchAndRewrite()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_read.cpp | 622 const char *kernelCode[], const char *kernelName[], int (*fn)(void *,int) ) in test_buffer_read() argument 656 &kernelCode[i], kernelName[i]); in test_buffer_read() 762 … const char *kernelCode[], const char *kernelName[], int (*fn)(void *,int) ) in test_buffer_read_async() argument 798 &kernelCode[i], kernelName[i]); in test_buffer_read_async() 899 … const char *kernelCode[], const char *kernelName[], int (*fn)(void *,int) ) in test_buffer_read_array_barrier() argument 934 &kernelCode[i], kernelName[i]); in test_buffer_read_array_barrier()
|
D | test_buffer_map.cpp | 555 … const char *kernelCode[], const char *kernelName[], int (*fn)(void *,int) ) in test_buffer_map_read() argument 586 &kernelCode[i], kernelName[i]); in test_buffer_map_read()
|
/external/OpenCL-CTS/test_conformance/vectors/ |
D | structs.h | 38 const char* kernelName);
|
D | structs.cpp | 65 const char *kernelName) in clStateMakeProgram() argument 71 &(pState->m_kernel), 1, srcArr, kernelName); in clStateMakeProgram()
|
/external/OpenCL-CTS/test_conformance/profiling/ |
D | readArray.cpp | 616 const char *kernelCode[], const char *kernelName[], int (*fn)(void *,int) ) in test_stream_read() argument 649 … create_single_kernel_helper( context, &program[i], &kernel[i], 1, &kernelCode[i], kernelName[i] ); in test_stream_read()
|
/external/OpenCL-CTS/test_conformance/device_partition/ |
D | test_device_partition.cpp | 68 …, unsigned int numKernelLines, const char **kernelProgram, const char *kernelName, const cl_device… in create_single_kernel_helper() argument 185 *outKernel = clCreateKernel( *outProgram, kernelName, &error ); in create_single_kernel_helper()
|
/external/OpenCL-CTS/test_conformance/events/ |
D | test_events.cpp | 37 … unsigned int lineCount, const char **lines, const char *kernelName, cl_event *outEvent ) in create_and_execute_kernel() argument 42 …if( create_single_kernel_helper( inContext, outProgram, outKernel, lineCount, lines, kernelName ) ) in create_and_execute_kernel()
|