From adad6ef71fb021add21776850d86159374029304 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Thu, 30 Jun 2016 21:03:19 -0500 Subject: [PATCH 1/2] added more nvcc event functions Change-Id: I79ee20ef444d4c1ab6ada3c0d56730ce754ab6b6 --- hipamd/include/nvcc_detail/hip_runtime_api.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hipamd/include/nvcc_detail/hip_runtime_api.h b/hipamd/include/nvcc_detail/hip_runtime_api.h index c3d8f2950f..6ea49fb3a1 100644 --- a/hipamd/include/nvcc_detail/hip_runtime_api.h +++ b/hipamd/include/nvcc_detail/hip_runtime_api.h @@ -464,6 +464,15 @@ inline static hipError_t hipSetDeviceFlags (unsigned int flags) return hipCUDAErrorTohipError(cudaSetDeviceFlags( flags )); } +inline static hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned int flags) +{ + return hipCUDAErrorTohipError(cudaEventCreateWithFlags(event, flags)); +} + +inline static hipError_t hipEventQuery(hipEvent_t event) +{ + return hipCUDAErrorTohipError(cudaEventQuery(event)); +} #ifdef __cplusplus } From 5bb51a3150528f6de0fb26bcf3fea66cd4837caf Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Tue, 5 Jul 2016 08:18:30 +0530 Subject: [PATCH 2/2] don't bundle source in rocm packages Change-Id: I36bd93e2bff9db1310724dd79c6c736ee17aa806 --- hipamd/packaging/hip_base.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/hipamd/packaging/hip_base.txt b/hipamd/packaging/hip_base.txt index c5b64e456e..1edba53901 100644 --- a/hipamd/packaging/hip_base.txt +++ b/hipamd/packaging/hip_base.txt @@ -1,7 +1,6 @@ cmake_minimum_required(VERSION 2.8.3) project(hip_base) -install(DIRECTORY @hip_SOURCE_DIR@/src DESTINATION .) install(DIRECTORY @hip_SOURCE_DIR@/bin DESTINATION . USE_SOURCE_PERMISSIONS) install(DIRECTORY @hip_SOURCE_DIR@/include DESTINATION . PATTERN "hip" EXCLUDE)