Files
compiler-explorer/etc/config/cpp_for_opencl.defaults.properties
Anastasia Stulova a9162cfbd0 Added clang-13 to OpenCL and improved compilation speed. (#3158)
Added clang-13 to OpenCL C and C++ for OpenCL.

Improved compilation speed by using '-fdeclare-opencl-builtins'
on the newer clang versions where applicable.
2021-12-06 22:52:49 -06:00

45 lines
2.4 KiB
Properties

# Default settings for C++ for OpenCL
compilers=&clang:&spirv
defaultCompiler=cppforopenclclangdefault
postProcess=
demangler=c++filt
supportsBinary=false
translatorPath=/opt/compiler-explorer/llvm-spirv-trunk/bin/llvm-spirv
disassemblerPath=/opt/compiler-explorer/SPIRV-Tools-master/build/tools/spirv-dis
group.clang.compilers=cppforopenclclangdefault:cppforopenclclang10:cppforopenclclang11:cppforopenclclang12:cppforopenclclang13
group.clang.compilerType=clang
compiler.cppforopenclclangdefault.exe=/usr/bin/clang
compiler.cppforopenclclangdefault.name=clang default
compiler.cppforopenclclangdefault.options=-cl-std=clc++ -x cl
compiler.cppforopenclclang10.exe=/usr/bin/clang-10
compiler.cppforopenclclang10.name=clang 10
compiler.cppforopenclclang10.options=-cl-std=clc++ -x cl -Xclang -finclude-default-header
compiler.cppforopenclclang11.exe=/usr/bin/clang-11
compiler.cppforopenclclang11.name=clang 11
compiler.cppforopenclclang11.options=-cl-std=clc++ -x cl -Xclang -finclude-default-header
compiler.cppforopenclclang12.exe=/usr/bin/clang-12
compiler.cppforopenclclang12.name=clang 12
compiler.cppforopenclclang12.options=-cl-std=clc++ -x cl -Xclang -finclude-default-header
compiler.cppforopenclclang13.exe=/usr/bin/clang-13
compiler.cppforopenclclang13.name=clang 13
group.spirv.compilers=spirvcppclang13spir:spirvcppclang13spir64:spirvcppclangdefaultspir:spirvcppclangdefaultspir64
group.spirv.compilerType=spirv
compiler.spirvcppclangdefaultspir.exe=/usr/bin/clang
compiler.spirvcppclangdefaultspir.name=clang default (SPIR-V asm, spir triple)
compiler.spirvcppclangdefaultspir.options=-cl-std=clc++ -x cl -finclude-default-header -fdeclare-opencl-builtins -triple spir-unknown-unknown
compiler.spirvcppclangdefaultspir64.exe=/usr/bin/clang
compiler.spirvcppclangdefaultspir64.name=clang default (SPIR-V asm, spir64 triple)
compiler.spirvcppclangdefaultspir64.options=-cl-std=clc++ -x cl -finclude-default-header -fdeclare-opencl-builtins -triple spir64-unknown-unknown
compiler.spirvcppclang13spir.exe=/usr/bin/clang-13
compiler.spirvcppclang13spir.name=clang 13 (SPIR-V asm, spir triple)
compiler.spirvcppclang13spir.options=-cl-std=clc++ -finclude-default-header -fdeclare-opencl-builtins -triple spir-unknown-unknown
compiler.spirvcppclang13spir64.exe=/usr/bin/clang-13
compiler.spirvcppclang13spir64.name=clang 13 (SPIR-V asm, spir64 triple)
compiler.spirvcppclang13spir64.options=-cl-std=clc++ -finclude-default-header -fdeclare-opencl-builtins -triple spir64-unknown-unknown