Fix warpSize, for related issue in hipeigen and torch

Change-Id: Ic66b24923a363304dca189011869ba7a0a6f8895
This commit is contained in:
Sun, Peng committed 2017-04-01 15:42:53 -05:00
1 parent 27bbeedabb
commit c82c84949c
2 files changed
+1 -6

No files matched your search

+1 -2
View File
@@ -159,8 +159,7 @@ extern int HIP_TRACE_API;
// TODO - hipify-clang - change to use the function call.
//#define warpSize hc::__wavesize()
extern const int warpSize;
static constexpr int warpSize = 64;
#define clock_t long long int
__device__ long long int clock64();