Lines Matching full:if

20   // TODO: Check if the option RTLD_NOW is correct. Explore using  in loadOsLibrary()
23 if (!so) { in loadOsLibrary()
33 // if (!Library)
44 if (DeviceType == sycl::info::device_type::gpu) { in prepareOclocArgs()
71 if (DeviceStepping != "") { in prepareOclocArgs()
78 if (UserArgs != "") { in prepareOclocArgs()
91 /// @param Is64Bit - If set to true, specifies the 64-bit architecture.
103 if (!CompileToSPIRVHandle) { in compileToSPIRV()
110 if (!OclocLibrary) throw online_compile_error("Cannot load ocloc library: " + OclocLibraryName); in compileToSPIRV()
116 if (OclocVersionHandle) { in compileToSPIRV()
121 // version (X.Y) used here if A == B and B >= Y. in compileToSPIRV()
126 if (LoadedVersionMajor != CurrentVersionMajor || LoadedVersionMinor < CurrentVersionMinor) in compileToSPIRV()
132 if (!CompileToSPIRVHandle) throw online_compile_error("Cannot load oclocInvoke() function"); in compileToSPIRV()
134if (!FreeSPIRVOutputsHandle) throw online_compile_error("Cannot load oclocFreeOutput() function"); in compileToSPIRV()
139 if (UserArg == "") continue; in compileToSPIRV()
140 if (CombinedUserArgs != "") CombinedUserArgs = CombinedUserArgs + " " + UserArg; in compileToSPIRV()
165 if (NameLen >= 4 && strstr(OutputNames[I], ".spv") != nullptr && Outputs[I] != nullptr) { in compileToSPIRV()
168 } else if (!strcmp(OutputNames[I], "stdout.log")) { in compileToSPIRV()
177if (CompileError) throw online_compile_error("ocloc reported compilation errors: {\n" + CompileLog… in compileToSPIRV()
178 if (SpirV.empty()) throw online_compile_error("Unexpected output: ocloc did not return SPIR-V"); in compileToSPIRV()
179 if (MemFreeError) throw online_compile_error("ocloc cannot safely free resources"); in compileToSPIRV()
187 if (OutputFormatVersion != std::pair<int, int>{0, 0}) { in compile()
198 if (OutputFormatVersion != std::pair<int, int>{0, 0}) { in compile()