Move HIP_HCC define to CMake

Tá an tiomantas seo le fáil i:
Ben Sander
2016-04-17 07:40:04 -05:00
tuismitheoir 4e0a1e1869
tiomantas f9a31e28ad
D'athraigh 4 comhad le 5 breiseanna agus 11 scriosta
-3
Féach ar an gComhad
@@ -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