Improve CPU detection on AMDGPU-Pro

This commit is contained in:
jsteube
2016-11-14 13:05:40 +01:00
parent 9f4c4dc14c
commit 8645571a7c
4 changed files with 20 additions and 7 deletions
+2 -1
View File
@@ -9,7 +9,8 @@
#include <stdio.h>
#include <errno.h>
static const char CL_VENDOR_AMD[] = "Advanced Micro Devices, Inc.";
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_INTEL_BEIGNET[] = "Intel";
-2
View File
@@ -922,8 +922,6 @@ typedef struct hc_device_param
char *driver_version;
char *device_opencl_version;
bool opencl_v12;
double nvidia_spin_damp;
cl_platform_id platform;