Move HIP_HCC define to CMake

[ROCm/hip commit: 65abde6626]
This commit is contained in:
Ben Sander
2016-04-17 07:40:04 -05:00
والد 95e4be12de
کامیت 698ea7f30f
4فایلهای تغییر یافته به همراه5 افزوده شده و 11 حذف شده
@@ -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