From 8be7a1b85968defc52080d10ff5108eb3ed793ec Mon Sep 17 00:00:00 2001 From: pensun Date: Wed, 20 Apr 2016 09:48:35 -0500 Subject: [PATCH] update hipLaunchKernel API trace information [ROCm/clr commit: f8ad55786422a862524889b649ad30fd1c8ff5c4] --- projects/clr/hipamd/include/hcc_detail/hip_runtime.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/clr/hipamd/include/hcc_detail/hip_runtime.h b/projects/clr/hipamd/include/hcc_detail/hip_runtime.h index aa420e992d..003ededca0 100644 --- a/projects/clr/hipamd/include/hcc_detail/hip_runtime.h +++ b/projects/clr/hipamd/include/hcc_detail/hip_runtime.h @@ -424,7 +424,7 @@ __device__ float __shfl_xor(float input, int lane_mask, int width); #endif __host__ __device__ int min(int arg1, int arg2); -__host__ __device__ int max(int arg1, int arg2); +__host__ __device__ int max(int arg1, int arg2); //TODO - add a couple fast math operations here, the set here will grow : __device__ float __cosf(float x); @@ -515,8 +515,8 @@ do {\ lp.cf = &cf; \ hipStream_t trueStream = (ihipPreLaunchKernel(_stream, &lp.av)); \ if (HIP_TRACE_API) {\ - fprintf(stderr, KGRN "<