From 7d5a45ac1a953f3a7958fbc138ec792834fcd64d Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Mon, 20 Nov 2017 16:33:52 +0000 Subject: [PATCH] Correct ill-formed merge in earlier commit and adjust for differences with the new CUDA natural indexing mechanism. --- include/hip/hcc_detail/hip_runtime.h | 15 ++++++++++++--- src/grid_launch.cpp | 17 ----------------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/include/hip/hcc_detail/hip_runtime.h b/include/hip/hcc_detail/hip_runtime.h index 924e774af0..c2302d4dc1 100644 --- a/include/hip/hcc_detail/hip_runtime.h +++ b/include/hip/hcc_detail/hip_runtime.h @@ -389,9 +389,18 @@ templatelockopen_preKernelCommand()); - - stream->lockclose_postKernelCommand(kernel_name, acc_v); - - delete static_cast(locked_stream); - locked_stream = nullptr; - if(HIP_PROFILE_API) { - MARKER_END(); ->>>>>>> e8ede28ec4f5744185b171031e537237afb7affa } } }