Lines Matching +full:- +full:- +full:version

1 //==----------- online_compiler.cpp ----------------------------------------==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
32 // // here to avoid it trying to free a non-existent library.
42 std::vector<const char *> Args = {"ocloc", "-q", "-spv_only", "-device"}; in prepareOclocArgs()
72 Args.push_back("-revision_id"); in prepareOclocArgs()
76 Args.push_back(Is64Bit ? "-64" : "-32"); in prepareOclocArgs()
79 Args.push_back("-options"); in prepareOclocArgs()
86 /// Compiles the given source \p Source to SPIR-V IL and returns IL as a vector
88 /// @param Source - Either OpenCL or CM source code.
89 /// @param DeviceType - SYCL device type, e.g. cpu, gpu, accelerator, etc.
90 /// @param DeviceArch - More detailed info on the target device architecture.
91 /// @param Is64Bit - If set to true, specifies the 64-bit architecture.
92 /// Otherwise, 32-bit is assumed.
93 /// @param DeviceStepping - implementation specific target device stepping.
94 /// @param CompileToSPIRVHandle - Output parameter. It is set to the address
96 /// @param FreeSPIRVOutputsHandle - Output parameter. It is set to the address
99 /// @param UserArgs - User's options to ocloc compiler.
113 // function. Those versions had the same API as the first version of ocloc in compileToSPIRV()
120 // The loaded library with version (A.B) is compatible with expected API/ABI in compileToSPIRV()
121 // version (X.Y) used here if A == B and B >= Y. in compileToSPIRV()
127 …throw online_compile_error(std::string("Found incompatible version of ocloc library: (") + std::to… in compileToSPIRV()
154 Args.push_back("-file"); in compileToSPIRV()
166 assert(SpirV.size() == 0 && "More than one SPIR-V output found."); in compileToSPIRV()
178 if (SpirV.empty()) throw online_compile_error("Unexpected output: ocloc did not return SPIR-V"); in compileToSPIRV()
188 …std::string Version = std::to_string(OutputFormatVersion.first) + ", " + std::to_string(OutputForm… in compile() local
189 …throw online_compile_error(std::string("The output format version (") + Version + ") is not suppor… in compile()
199 …std::string Version = std::to_string(OutputFormatVersion.first) + ", " + std::to_string(OutputForm… in compile() local
200 …throw online_compile_error(std::string("The output format version (") + Version + ") is not suppor… in compile()
204 CMUserArgs.push_back("-cmc"); in compile()