Searched refs:program_file (Results 1 – 2 of 2) sorted by relevance
148 FILE *program_file; in opencl_build_program_from_file() local152 program_file = fopen(filename, "r"); in opencl_build_program_from_file()153 if (program_file == NULL) { in opencl_build_program_from_file()157 fseek(program_file, 0, SEEK_END); in opencl_build_program_from_file()158 program_size = ftell(program_file); in opencl_build_program_from_file()159 rewind(program_file); in opencl_build_program_from_file()162 read = fread(program_source, sizeof(char), program_size, program_file); in opencl_build_program_from_file()167 fclose(program_file); in opencl_build_program_from_file()
13 const char *program_file = argv[1]; in main() local18 SBTarget target = debugger.CreateTarget(program_file, nullptr, nullptr, in main()