* [HIPIFY] Initial Profiler support.

CUDA Driver API porting to HIP:

+ cuProfilerStart, cuProfilerStop.
- cuProfilerInitialize & cudaProfilerInitialize - unsupported yet by HIP.
This commit is contained in:
Evgeny Mankov
2016-10-28 18:32:13 +03:00
parent 87a2e8f12b
commit b0f37d0d2e
+5 -1
View File
@@ -423,7 +423,11 @@ struct cuda2hipMap {
cuda2hipRename["cuMemHostRegister_v2"] = {"hipHostRegister", CONV_MEM, API_DRIVER};
cuda2hipRename["cuMemHostUnregister"] = {"hipHostUnregister", CONV_MEM, API_DRIVER};
// Profiler
// unsupported yet by HIP
// cuda2hipRename["cuProfilerInitialize"] = {"hipProfilerInitialize", CONV_OTHER, API_DRIVER};
cuda2hipRename["cuProfilerStart"] = {"hipProfilerStart", CONV_OTHER, API_DRIVER};
cuda2hipRename["cuProfilerStop"] = {"hipProfilerStop", CONV_OTHER, API_DRIVER};
/////////////////////////////// CUDA RT API ///////////////////////////////
// Error API