KhronosGroup / OpenCL-SDK

OpenCL SDK
Apache License 2.0
577 stars 121 forks source link

Device toolchains #27

Open InBetweenNames opened 3 years ago

InBetweenNames commented 3 years ago

CMake has the notion of a Host toolchain which is useful for configuring for cross compilation and specifying which compiler to use. Would it be useful to extend this concept to cover Device toolchains as well? The OpenCL CTS Framework repository previously had the notion of a Device Toolchain described here: https://github.com/KhronosGroup/OpenCL-CTS-Framework/tree/master/03-conformance-checks

Some of the variables that were used in that repository are documented below: