Add special detection for NVIDIA OpenCL devices on OSX

This commit is contained in:
jsteube
2017-10-20 08:39:23 +02:00
parent a03bda0921
commit 2e85972ec5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ static const char CL_VENDOR_AMD1[] = "Advanced Micro Devices, Inc.";
static const char CL_VENDOR_AMD2[] = "AuthenticAMD";
static const char CL_VENDOR_AMD_USE_INTEL[] = "GenuineIntel";
static const char CL_VENDOR_APPLE[] = "Apple";
static const char CL_VENDOR_APPLE_USE_NV[] = "NVIDIA";
static const char CL_VENDOR_INTEL_BEIGNET[] = "Intel";
static const char CL_VENDOR_INTEL_SDK[] = "Intel(R) Corporation";
static const char CL_VENDOR_MESA[] = "Mesa";