Move HIP_HCC define to CMake

[ROCm/clr commit: f9a31e28ad]
Tento commit je obsažen v:
Ben Sander
2016-04-17 07:40:04 -05:00
rodič a77d6342a8
revize e92dbaeecd
4 změnil soubory, kde provedl 5 přidání a 11 odebrání
-3
Zobrazit soubor
@@ -24,7 +24,6 @@ THE SOFTWARE.
#include "hcc_detail/hip_util.h"
#include "hcc_detail/staging_buffer.h"
#define HIP_HCC
#if defined(__HCC__) && (__hcc_workweek__ < 1502)
#error("This version of HIP requires a newer version of HCC.");
@@ -90,8 +89,6 @@ class ihipDevice_t;
#define API_COLOR KGRN
#define HIP_HCC
// If set, thread-safety is enforced on all stream functions.
// Stream functions will acquire a mutex before entering critical sections.
#define STREAM_THREAD_SAFE 1