Searched refs:simple_kernels (Results 1 – 1 of 1) sorted by relevance
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 262 cl_program *simple_kernels; in test_large_multi_file_library() local 267 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multi_file_library() 268 if (simple_kernels == NULL) { in test_large_multi_file_library() 275 free(simple_kernels); in test_large_multi_file_library() 301 free( simple_kernels ); in test_large_multi_file_library() 326 simple_kernels[i] = clCreateProgramWithSource( context, 1, &kernel_source, NULL, &error ); in test_large_multi_file_library() 327 if( simple_kernels[i] == NULL || error != CL_SUCCESS ) in test_large_multi_file_library() 334 error = clCompileProgram(simple_kernels[i], 1, &deviceID, NULL, 0, NULL, NULL, NULL, NULL); in test_large_multi_file_library() 341 … = clLinkProgram(context, 1, &deviceID, "-create-library", numLines, simple_kernels, NULL, NULL, &… in test_large_multi_file_library() 371 error = clReleaseProgram( simple_kernels[i] ); in test_large_multi_file_library() [all …]
|