fix hipProfiler* apis on NV path

Change-Id: I6adca6151fef3a9b35348163eb6bd13f5c414172


[ROCm/clr commit: 4a8a6a4697]
This commit is contained in:
pensun
2016-11-09 15:44:01 -06:00
bovenliggende 12a5923a2b
commit 85fa855e18
@@ -24,6 +24,7 @@ THE SOFTWARE.
#include <cuda_runtime_api.h>
#include <cuda.h>
#include <cuda_profiler_api.h>
#ifdef __cplusplus
extern "C" {
@@ -645,12 +646,12 @@ inline static hipError_t hipMemcpyPeerAsync ( void* dst, int dstDevice, const v
// Profile APIs:
inline hipError_t hipProfilerStart()
{
return hipCUDAErrorTohipError(cudaProfileStart());
return hipCUDAErrorTohipError(cudaProfilerStart());
}
inline hipError_t hipProfilerStop()
{
return hipCUDAErrorTohipError(cudaProfileStop());
return hipCUDAErrorTohipError(cudaProfilerStop());
}