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


[ROCm/clr commit: c4aa6febe5]
This commit is contained in:
Vladislav Sytchenko
2021-08-30 14:04:35 -04:00
کامیت شده توسط Jason Tang
والد 79be42d8b7
کامیت 60cf342ae0
27فایلهای تغییر یافته به همراه92 افزوده شده و 93 حذف شده
@@ -27,7 +27,7 @@
#include "CL/cl.h"
#include "CL/cl_ext.h"
#if !defined(ATI_OS_LINUX)
#if !defined(__linux__)
#include "WinBase.h"
typedef DWORD(WINAPI* GetThreadId)(__in HANDLE Thread);
#endif
@@ -63,7 +63,7 @@ void OCLGetQueueThreadID::open(unsigned int test, char* units,
static void CL_CALLBACK notify_callback(cl_event event,
cl_int event_command_exec_status,
void* user_data) {
#if defined(ATI_OS_LINUX)
#if defined(__linux__)
pthread_t id = (pthread_t)user_data;
pthread_t handle = pthread_self();
#else