Re-sync with upstream.

此提交包含在:
Alex Voicu
2017-11-20 15:34:50 +00:00
當前提交 30d90dab38
共有 65 個檔案被更改,包括 320 行新增 和 265 行删除
+2 -2
查看文件
@@ -57,8 +57,8 @@ vectoradd_float(hipLaunchParm lp,
T* a, const T* bm, int width, int height)
{
int x = hipBlockDim_x * hipBlockIdx_x + hipThreadIdx_x;
int y = hipBlockDim_y * hipBlockIdx_y + hipThreadIdx_y;
int x = blockDim.x * blockIdx.x + threadIdx.x;
int y = blockDim.y * blockIdx.y + threadIdx.y;
int i = y * width + x;
if ( i < (width * height)) {