SWDEV-301289 - Treewide macro rename
ATI_OS_WIN -> _WIN32 ATI_OS_LINUX -> __linux__ We should not rely on non-standard macros for platform detections. Change-Id: If1d06e2e1187268df62a59609ea5496ab7eb709d
Dieser Commit ist enthalten in:
committet von
Jason Tang
Ursprung
159f7f24cd
Commit
c4aa6febe5
+1
-1
@@ -147,7 +147,7 @@ int oclSysInfo(std::string &info_string, bool use_cpu, unsigned dev_id,
|
||||
clGetDeviceInfo(device, CL_DEVICE_BOARD_NAME_AMD, sizeof(c), &c, NULL);
|
||||
sprintf(tmpString, "\tBoard Name: %s\n", c);
|
||||
info_string.append(tmpString);
|
||||
#if defined(ATI_OS_LINUX)
|
||||
#if defined(__linux__)
|
||||
cl_device_topology_amd topology;
|
||||
clGetDeviceInfo(device, CL_DEVICE_TOPOLOGY_AMD, sizeof(topology), &topology,
|
||||
NULL);
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren