Home
last modified time | relevance | path

Searched refs:program_source (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_vec_type_hint.cpp47 char *program_source; in test_vec_type_hint() local
49 program_source = (char*)malloc(sizeof(char)*4096); in test_vec_type_hint()
77 program_source[0] = '\0'; in test_vec_type_hint()
78 sprintf(program_source, sample_kernel, in test_vec_type_hint()
82 …_single_kernel_helper( context, &program, &kernel, 1, (const char**)&program_source, "sample_test"… in test_vec_type_hint()
104 free(program_source); in test_vec_type_hint()
Dtest_vector_creation.cpp227 char *program_source; in test_vector_creation() local
239 program_source = (char*)malloc(sizeof(char)*1024*1024*4); in test_vector_creation()
290 …generated = create_kernel(vecType[type_index], vecSizes[size_index], program_source, &number_of_re… in test_vector_creation()
297 …_single_kernel_helper(context, &program, &kernel, 1, (const char **)&program_source, "test_vector_… in test_vector_creation()
369 char *start_loc = strstr(program_source, search); in test_vector_creation()
371 … log_error("Failed to find program source for failure for %s in \n%s", search, program_source); in test_vector_creation()
401 free(program_source); in test_vector_creation()
Dtest_local.cpp244 char *program_source = (char*)malloc(sizeof(char)*2048); in test_local_kernel_def() local
247 memset(program_source, 0, 2048); in test_local_kernel_def()
302 sprintf(program_source, barrier_with_localmem_kernel_code[1], (int)(wgsize * sizeof(cl_int))); in test_local_kernel_def()
304 …err = create_single_kernel_helper(context, &program, &kernel, 1, (const char**)&program_source, "c… in test_local_kernel_def()
305 free(program_source); in test_local_kernel_def()
/external/ComputeLibrary/src/gpu/cl/
DClKernelLibrary.cpp1028 std::string program_source = program_source_it->second; in program() local
1034 program_source = std::move(decompressed_program_source); in program()
1037 return ClProgramInfo{ program_source, false }; in program()
1042 std::string program_source{}; in program()
1047 program_source = read_file(binary_name, true); in program()
1052 program_source = read_file(source_name, false); in program()
1059 return ClProgramInfo{ program_source, is_binary }; in program()
/external/ComputeLibrary/src/core/CL/
DCLCompileContext.cpp159 …const std::string &kernel_name, const std::string &program_name, const std::string &program_source, in create_kernel() argument
174 Program program = load_program(program_name, program_source, is_binary); in create_kernel()
187 …xt::load_program(const std::string &program_name, const std::string &program_source, bool is_binar… in load_program() argument
200 program = Program(_context, program_name, program_source); in load_program()
204 …ce.cl_device(), program_name, std::vector<unsigned char>(program_source.begin(), program_source.en… in load_program()
208 program = Program(_context, program_name, program_source); in load_program()
/external/ComputeLibrary/arm_compute/core/CL/
DCLCompileContext.h253 …const std::string &kernel_name, const std::string &program_name, const std::string &program_source,
326 …const Program &load_program(const std::string &program_name, const std::string &program_source, bo…