Add a couple of missing CHECK directives to concurrentKernels.cu

[ROCm/hip commit: 4ab091ce1e]
这个提交包含在:
Chris Kitching 于 2017-11-13 16:17:19 +00:00 提交
1 父节点 56d3677499
当前提交 b13465cfdd
1 个文件已更改
+2
@@ -99,6 +99,7 @@ int main(int argc, char **argv)
// use command-line specified CUDA device, otherwise use device with highest Gflops/s
cuda_device = findCudaDevice(argc, (const char **)argv);
// CHECK: hipDeviceProp_t deviceProp;
cudaDeviceProp deviceProp;
// CHECK: checkCudaErrors(hipGetDevice(&cuda_device));
checkCudaErrors(cudaGetDevice(&cuda_device));
@@ -135,6 +136,7 @@ int main(int argc, char **argv)
checkCudaErrors(cudaStreamCreate(&(streams[i])));
}
// CHECK: hipEvent_t start_event, stop_event;
// create CUDA event handles
cudaEvent_t start_event, stop_event;