Fix warpSize, for related issue in hipeigen and torch

Change-Id: Ic66b24923a363304dca189011869ba7a0a6f8895
此提交包含在:
Sun, Peng
2017-04-01 15:42:53 -05:00
父節點 9762667431
當前提交 a7d7797781
共有 2 個檔案被更改,包括 1 行新增6 行删除
+1 -2
查看文件
@@ -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();
-4
查看文件
@@ -835,10 +835,6 @@ __device__ float __hip_ynf(int n, float x)
return b0;
}
const int warpSize = 64;
__device__ long long int clock64() { return (long long int)hc::__cycle_u64(); };
__device__ clock_t clock() { return (clock_t)hc::__cycle_u64(); };