• Home
  • Raw
  • Download

Lines Matching refs:buildOptions

167                                               const char *buildOptions)  in get_unique_filename_prefix()  argument
175 if (buildOptions) in get_unique_filename_prefix()
177 cl_uint bOptionsCrc = crc32(buildOptions, strlen(buildOptions)); in get_unique_filename_prefix()
247 const char *buildOptions) in save_kernel_build_options_to_disk() argument
257 ofs.write(buildOptions, strlen(buildOptions)); in save_kernel_build_options_to_disk()
283 const char *buildOptions) in save_kernel_source_and_options_to_disk() argument
289 get_unique_filename_prefix(numKernelLines, kernelProgram, buildOptions); in save_kernel_source_and_options_to_disk()
296 if (buildOptions != NULL) in save_kernel_source_and_options_to_disk()
298 gCompilationCachePath, kernelNamePrefix, buildOptions); in save_kernel_source_and_options_to_disk()
549 const char *buildOptions, CompilationMode compilationMode) in create_single_kernel_helper_create_program_offline() argument
569 bOptions += buildOptions ? std::string(buildOptions) : ""; in create_single_kernel_helper_create_program_offline()
572 get_unique_filename_prefix(numKernelLines, kernelProgram, buildOptions); in create_single_kernel_helper_create_program_offline()
664 const char *buildOptions, CompilationMode compilationMode) in create_single_kernel_helper_create_program() argument
669 get_unique_filename_prefix(numKernelLines, kernelProgram, buildOptions); in create_single_kernel_helper_create_program()
678 numKernelLines, kernelProgram, buildOptions)) in create_single_kernel_helper_create_program()
702 buildOptions, compilationMode); in create_single_kernel_helper_create_program()
710 const char *buildOptions) in create_single_kernel_helper_create_program() argument
713 context, NULL, outProgram, numKernelLines, kernelProgram, buildOptions, in create_single_kernel_helper_create_program()
720 const char *buildOptions) in create_single_kernel_helper_create_program_for_device() argument
724 buildOptions, gCompilationMode); in create_single_kernel_helper_create_program_for_device()
730 const char *kernelName, const char *buildOptions) in create_single_kernel_helper_with_build_options() argument
734 kernelName, buildOptions); in create_single_kernel_helper_with_build_options()
743 const char *buildOptions) in create_single_kernel_helper() argument
749 std::string build_options_internal{ buildOptions ? buildOptions : "" }; in create_single_kernel_helper()
752 if (!buildOptions || !strstr(buildOptions, "-cl-std")) in create_single_kernel_helper()
780 buildOptions = build_options_internal.c_str(); in create_single_kernel_helper()
783 context, outProgram, numKernelLines, kernelProgram, buildOptions); in create_single_kernel_helper()
792 if (buildOptions != NULL) in create_single_kernel_helper()
794 newBuildOptions = buildOptions; in create_single_kernel_helper()
814 const char *kernelName, const char *buildOptions) in build_program_create_kernel_helper() argument
820 error = clBuildProgram(*outProgram, 0, NULL, buildOptions, NULL, NULL); in build_program_create_kernel_helper()
827 log_error("Build options: %s\n", buildOptions); in build_program_create_kernel_helper()