mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Test for IL support in unload_platform_compiler (#862)
This commit is contained in:
@@ -262,7 +262,10 @@ public:
|
||||
const cl_device_id device)
|
||||
: build_base{ context, device }
|
||||
{
|
||||
if (get_device_cl_version(device) >= Version(2, 1))
|
||||
Version version = get_device_cl_version(device);
|
||||
std::string sILVersion = get_device_il_version_string(device);
|
||||
if ((version >= Version(2, 1) && version < Version(3, 0))
|
||||
|| (version >= Version(3, 0) && sILVersion.length() != 1))
|
||||
{
|
||||
m_CreateProgramWithIL = clCreateProgramWithIL;
|
||||
m_enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user