Lines Matching refs:numLibraries
621 unsigned int numLibraries = (unsigned int)pow(2.0, level - 1.0); in test_large_multiple_libraries() local
622 unsigned int numFilesInLib = numLines/numLibraries; in test_large_multiple_libraries()
623 cl_program *my_program_and_libraries = (cl_program*)malloc((1+numLibraries)*sizeof(cl_program)); in test_large_multiple_libraries()
625 … Unable to allocate program array with %d programs! (in %s:%d)\n", (1+numLibraries), __FILE__, __L… in test_large_multiple_libraries()
629 …log_info("level - %d, numLibraries - %d, numFilesInLib - %d\n", level, numLibraries, numFilesInLib… in test_large_multiple_libraries()
691 for(i = 0; i < numLibraries; i++) { in test_large_multiple_libraries()
697 …cl_program my_newly_linked_program = clLinkProgram(context, 1, &deviceID, NULL, numLibraries+1, my… in test_large_multiple_libraries()
710 for(i = 0; i <= numLibraries; i++) { in test_large_multiple_libraries()
786 unsigned int numLibraries = (unsigned int)pow(2.0, level - 2.0); in test_large_multiple_files_multiple_libraries() local
787 unsigned int numFilesInLib = numLines/(2*numLibraries); in test_large_multiple_files_multiple_libraries()
788 …cl_program *my_programs_and_libraries = (cl_program*)malloc((1+numLibraries+numLibraries*numFilesI… in test_large_multiple_files_multiple_libraries()
790 …e to allocate program array with %d programs! (in %s:%d)\n", (1+numLibraries+numLibraries*numFiles… in test_large_multiple_files_multiple_libraries()
793 …log_info("level - %d, numLibraries - %d, numFilesInLib - %d\n", level, numLibraries, numFilesInLib… in test_large_multiple_files_multiple_libraries()
855 for( i = 0; i < numLibraries*numFilesInLib; i++) { in test_large_multiple_files_multiple_libraries()
860 for( i = 0; i < numLibraries; i++) { in test_large_multiple_files_multiple_libraries()
861 …i+1+numLibraries*numFilesInLib] = clLinkProgram(context, 1, &deviceID, "-create-library", numFiles… in test_large_multiple_files_multiple_libraries()
866 …ly_linked_program = clLinkProgram(context, 1, &deviceID, NULL, numLibraries+1+numLibraries*numFile… in test_large_multiple_files_multiple_libraries()
879 for(i = 0; i < numLibraries+1+numLibraries*numFilesInLib; i++) { in test_large_multiple_files_multiple_libraries()
895 for(i = numLibraries*numFilesInLib; i < numLines; i++) in test_large_multiple_files_multiple_libraries()