Fix warpSize, for related issue in hipeigen and torch

Change-Id: Ic66b24923a363304dca189011869ba7a0a6f8895


[ROCm/hip commit: c82c84949c]
This commit is contained in:
Sun, Peng
2017-04-01 15:42:53 -05:00
parent 5a6869d450
commit dd0aa2c9e3
2 changed files with 1 additions and 6 deletions
@@ -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();