Move HIP_HCC define to CMake

This commit is contained in:
Ben Sander
2016-04-17 07:40:04 -05:00
förälder 74a7dee58f
incheckning 65abde6626
4 ändrade filer med 5 tillägg och 11 borttagningar
-3
Visa fil
@@ -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