• Home
  • Raw
  • Download

Lines Matching refs:numLines

160 int test_large_single_compile(cl_context context, cl_device_id deviceID, unsigned int numLines)  in test_large_single_compile()  argument
169 lines = (const char **)malloc( numLines * sizeof( const char * ) ); in test_large_single_compile()
171 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", numLines, __FILE__… in test_large_single_compile()
177 lines[ numLines - 1 ] = sample_kernel_end; in test_large_single_compile()
183 for( i = 1; i < numLines - 1; i++ ) in test_large_single_compile()
190 error = create_single_kernel_helper_create_program(context, &program, numLines, lines); in test_large_single_compile()
193 …RROR: Unable to create long test program with %d lines! (%s in %s:%d)", numLines, IGetErrorString(… in test_large_single_compile()
258 …e_library(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_multi_file_library() argument
267 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multi_file_library()
269 …ERROR: Unable to allocate kernels array with %d kernels! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_multi_file_library()
273 lines = (const char **)malloc( (2*numLines + 2) * sizeof( const char * ) ); in test_large_multi_file_library()
276 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_multi_file_library()
280 for( i = 0; i < numLines; i++) in test_large_multi_file_library()
286 lines[ numLines ] = composite_kernel_start; in test_large_multi_file_library()
287 lines[ 2* numLines + 1] = composite_kernel_end; in test_large_multi_file_library()
290 for( i = numLines + 1; i < 2* numLines + 1; i++ ) in test_large_multi_file_library()
292 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_multi_file_library()
297 error = create_single_kernel_helper_create_program(context, &program, 2 * numLines + 2, lines); in test_large_multi_file_library()
300 …: Unable to create long test program with %d lines! (%s) (in %s:%d)\n", numLines, IGetErrorString(… in test_large_multi_file_library()
302 for( i = 0; i < numLines; i++) in test_large_multi_file_library()
305 free( (void*)lines[i+numLines+1] ); in test_large_multi_file_library()
322 for( i = 0; i < numLines; i++) in test_large_multi_file_library()
329 …: Unable to create long test program with %d lines! (%s) (in %s:%d)\n", numLines, IGetErrorString(… in test_large_multi_file_library()
341 …inted_library = clLinkProgram(context, 1, &deviceID, "-create-library", numLines, simple_kernels, … in test_large_multi_file_library()
362 for( i = 0; i < numLines; i++) in test_large_multi_file_library()
365 free( (void*)lines[i+numLines+1] ); in test_large_multi_file_library()
369 for(i = 0; i < numLines; i++) in test_large_multi_file_library()
424 …d_headers(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_multiple_embedded_headers() argument
435 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multiple_embedded_headers()
437 …: Unable to allocate simple_kernels array with %d lines! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_multiple_embedded_headers()
440 headers = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multiple_embedded_headers()
442 …log_error( "ERROR: Unable to allocate headers array with %d lines! (in %s:%d)\n", numLines, __FILE… in test_large_multiple_embedded_headers()
446 header_names = (const char**)malloc( numLines*sizeof( const char * ) ); in test_large_multiple_embedded_headers()
448 …OR: Unable to allocate header_names array with %d lines! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_multiple_embedded_headers()
451 lines = (const char **)malloc( (2*numLines + 2)*sizeof( const char * ) ); in test_large_multiple_embedded_headers()
453 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_multiple_embedded_headers()
457 for( i = 0; i < numLines; i++) in test_large_multiple_embedded_headers()
474 lines[ numLines ] = composite_kernel_start; in test_large_multiple_embedded_headers()
475 lines[ 2* numLines + 1 ] = composite_kernel_end; in test_large_multiple_embedded_headers()
478 for( i = numLines + 1; i < 2* numLines + 1; i++ ) in test_large_multiple_embedded_headers()
480 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_multiple_embedded_headers()
485 error = create_single_kernel_helper_create_program(context, &program, 2 * numLines + 2, lines); in test_large_multiple_embedded_headers()
488 …: Unable to create long test program with %d lines! (%s) (in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_embedded_headers()
493 …error = clCompileProgram(program, 1, &deviceID, NULL, numLines, headers, header_names, NULL, NULL); in test_large_multiple_embedded_headers()
497 for( i = 0; i < numLines; i++) in test_large_multiple_embedded_headers()
504 …: Unable to create long test program with %d lines! (%s) (in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_embedded_headers()
516 …inted_library = clLinkProgram(context, 1, &deviceID, "-create-library", numLines, simple_kernels, … in test_large_multiple_embedded_headers()
537 for( i = 0; i < numLines; i++) in test_large_multiple_embedded_headers()
542 for( i = numLines + 1; i < 2* numLines + 1; i++ ) in test_large_multiple_embedded_headers()
549 for(i = 0; i < numLines; i++) in test_large_multiple_embedded_headers()
612 …libraries(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_multiple_libraries() argument
620 unsigned int level = (unsigned int)(logbase(numLines, 2.0) + 1.000001)/2; in test_large_multiple_libraries()
622 unsigned int numFilesInLib = numLines/numLibraries; in test_large_multiple_libraries()
631 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multiple_libraries()
633 …ERROR: Unable to allocate kernels array with %d kernels! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_multiple_libraries()
637 lines = (const char **)malloc( (2*numLines + 2) * sizeof( const char * ) ); in test_large_multiple_libraries()
639 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_multiple_libraries()
643 for(i = 0; i < numLines; i++) in test_large_multiple_libraries()
649 lines[ numLines ] = composite_kernel_start; in test_large_multiple_libraries()
650 lines[ 2*numLines + 1] = composite_kernel_end; in test_large_multiple_libraries()
653 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_libraries()
655 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_multiple_libraries()
660 …ingle_kernel_helper_create_program(context, &my_program_and_libraries[0], 2 * numLines + 2, lines); in test_large_multiple_libraries()
663 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_libraries()
672 for(i = 0; i < numLines; i++) in test_large_multiple_libraries()
679 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_libraries()
715 for(i = 0; i < numLines; i++) in test_large_multiple_libraries()
719 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_libraries()
725 for(i = 0; i < numLines; i++) in test_large_multiple_libraries()
777 …libraries(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_multiple_files_multiple_libraries() argument
785 unsigned int level = (unsigned int)(logbase(numLines, 2.0) + 1.000001)/2; in test_large_multiple_files_multiple_libraries()
787 unsigned int numFilesInLib = numLines/(2*numLibraries); in test_large_multiple_files_multiple_libraries()
795 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_multiple_files_multiple_libraries()
797 …ERROR: Unable to allocate kernels array with %d kernels! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_multiple_files_multiple_libraries()
801 lines = (const char **)malloc( (2*numLines + 2) * sizeof( const char * ) ); in test_large_multiple_files_multiple_libraries()
803 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_multiple_files_multiple_libraries()
807 for(i = 0; i < numLines; i++) in test_large_multiple_files_multiple_libraries()
813 lines[ numLines ] = composite_kernel_start; in test_large_multiple_files_multiple_libraries()
814 lines[ 2*numLines + 1] = composite_kernel_end; in test_large_multiple_files_multiple_libraries()
817 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_files_multiple_libraries()
819 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_multiple_files_multiple_libraries()
824 …ngle_kernel_helper_create_program(context, &my_programs_and_libraries[0], 2 * numLines + 2, lines); in test_large_multiple_files_multiple_libraries()
827 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_files_multiple_libraries()
836 for(i = 0; i < numLines; i++) in test_large_multiple_files_multiple_libraries()
843 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_files_multiple_libraries()
885 for(i = 0; i < numLines; i++) in test_large_multiple_files_multiple_libraries()
889 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_files_multiple_libraries()
895 for(i = numLibraries*numFilesInLib; i < numLines; i++) in test_large_multiple_files_multiple_libraries()
947 …ple_files(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_multiple_files() argument
953 cl_program *my_programs = (cl_program*)malloc((1+numLines)*sizeof(cl_program)); in test_large_multiple_files()
956 …nable to allocate my_programs array with %d programs! (in %s:%d)\n", (1+numLines), __FILE__, __LIN… in test_large_multiple_files()
960 lines = (const char **)malloc( (2*numLines + 2) * sizeof( const char * ) ); in test_large_multiple_files()
962 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_multiple_files()
966 for(i = 0; i < numLines; i++) in test_large_multiple_files()
972 lines[ numLines ] = composite_kernel_start; in test_large_multiple_files()
973 lines[ 2* numLines + 1] = composite_kernel_end; in test_large_multiple_files()
976 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_files()
978 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_multiple_files()
983 …error = create_single_kernel_helper_create_program(context, &my_programs[0], 2 * numLines + 2, lin… in test_large_multiple_files()
986 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_files()
995 for( i = 0; i < numLines; i++) in test_large_multiple_files()
1002 …OR: Unable to create long test program with %d lines! (%s in %s:%d)\n", numLines, IGetErrorString(… in test_large_multiple_files()
1014 …cl_program my_newly_linked_program = clLinkProgram(context, 1, &deviceID, NULL, 1+numLines, my_pro… in test_large_multiple_files()
1027 for(i = 0; i < 1+numLines; i++) { in test_large_multiple_files()
1032 for(i = 0; i < numLines; i++) in test_large_multiple_files()
1036 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_multiple_files()
2970 …tions_log(cl_context context, cl_device_id deviceID, cl_command_queue queue, unsigned int numLines) in test_large_compile_and_link_status_options_log() argument
2989 simple_kernels = (cl_program*)malloc(numLines*sizeof(cl_program)); in test_large_compile_and_link_status_options_log()
2991 …ERROR: Unable to allocate kernels array with %d kernels! (in %s:%d)\n", numLines, __FILE__, __LINE… in test_large_compile_and_link_status_options_log()
2995 lines = (const char **)malloc( (2*numLines + 2) * sizeof( const char * ) ); in test_large_compile_and_link_status_options_log()
2997 …log_error( "ERROR: Unable to allocate lines array with %d lines! (in %s:%d)\n", (2*numLines + 2), … in test_large_compile_and_link_status_options_log()
3001 for(i = 0; i < numLines; i++) in test_large_compile_and_link_status_options_log()
3007 lines[ numLines ] = composite_kernel_start; in test_large_compile_and_link_status_options_log()
3008 lines[ 2*numLines + 1] = composite_kernel_end; in test_large_compile_and_link_status_options_log()
3011 for(i = numLines + 1; i < 2*numLines + 1; i++ ) in test_large_compile_and_link_status_options_log()
3013 sprintf(buffer, composite_kernel_template, i - numLines - 1); in test_large_compile_and_link_status_options_log()
3018 error = create_single_kernel_helper_create_program(context, &program, 2 * numLines + 2, lines); in test_large_compile_and_link_status_options_log()
3021 …: Unable to create long test program with %d lines! (%s) (in %s:%d)\n", numLines, IGetErrorString(… in test_large_compile_and_link_status_options_log()
3076 for( i = 0; i < numLines; i++) in test_large_compile_and_link_status_options_log()
3083 …RROR: Unable to create long test program with %d lines! (%s in %s:%d)", numLines, IGetErrorString(… in test_large_compile_and_link_status_options_log()
3095 …inted_library = clLinkProgram(context, 1, &deviceID, "-create-library", numLines, simple_kernels, … in test_large_compile_and_link_status_options_log()
3191 for(i = 0; i < numLines; i++) in test_large_compile_and_link_status_options_log()
3194 free( (void*)lines[i+numLines+1] ); in test_large_compile_and_link_status_options_log()
3198 for(i = 0; i < numLines; i++) in test_large_compile_and_link_status_options_log()