fix hipProfiler* apis on NV path
Change-Id: I6adca6151fef3a9b35348163eb6bd13f5c414172
Этот коммит содержится в:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user