Home
last modified time | relevance | path

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

/external/llvm-project/polly/lib/External/ppcg/
Docl_utilities.c112 const char *program_source, size_t program_size, in opencl_build_program_from_string() argument
121 &program_source, &program_size, &err); in opencl_build_program_from_string()
149 char *program_source; in opencl_build_program_from_file() local
160 program_source = (char *) malloc(program_size + 1); in opencl_build_program_from_file()
161 program_source[program_size] = '\0'; in opencl_build_program_from_file()
162 read = fread(program_source, sizeof(char), program_size, program_file); in opencl_build_program_from_file()
169 program = opencl_build_program_from_string(ctx, dev, program_source, in opencl_build_program_from_file()
171 free(program_source); in opencl_build_program_from_file()
Docl_utilities.h24 const char *program_source, size_t program_size,
/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()