Skip to content

Commit

Permalink
Merge pull request #1699 from emankov/HIPIFY
Browse files Browse the repository at this point in the history
[HIPIFY][6.3.0][HIP] Sync with HIP
  • Loading branch information
emankov authored Oct 12, 2024
2 parents 4f76ecb + cdbece4 commit 5ac882a
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 31 deletions.
34 changes: 23 additions & 11 deletions bin/hipify-perl
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,18 @@ my %experimental_funcs = (
"cusolverDnXgeqrf_bufferSize" => "6.3.0",
"cusolverDnXgeqrf" => "6.3.0",
"cusolverDnSetDeterministicMode" => "6.3.0",
"cusolverDnGetDeterministicMode" => "6.3.0"
"cusolverDnGetDeterministicMode" => "6.3.0",
"cudaGraphNodeSetParams" => "6.3.0",
"cudaGraphExecNodeSetParams" => "6.3.0",
"cudaGraphExecGetFlags" => "6.3.0",
"cuGraphNodeSetParams" => "6.3.0",
"cuGraphMemcpyNodeSetParams" => "6.3.0",
"cuGraphMemcpyNodeGetParams" => "6.3.0",
"cuGraphExecNodeSetParams" => "6.3.0",
"cuGraphExecMemsetNodeSetParams" => "6.3.0",
"cuGraphExecMemcpyNodeSetParams" => "6.3.0",
"cuGraphExecGetFlags" => "6.3.0",
"cuGraphAddMemFreeNode" => "6.3.0"
);

$print_stats = 1 if $examine;
Expand Down Expand Up @@ -1536,6 +1547,17 @@ sub subst {
}

sub experimentalSubstitutions {
subst("cuGraphAddMemFreeNode", "hipDrvGraphAddMemFreeNode", "graph");
subst("cuGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cuGraphExecMemcpyNodeSetParams", "hipDrvGraphExecMemcpyNodeSetParams", "graph");
subst("cuGraphExecMemsetNodeSetParams", "hipDrvGraphExecMemsetNodeSetParams", "graph");
subst("cuGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cuGraphMemcpyNodeGetParams", "hipDrvGraphMemcpyNodeGetParams", "graph");
subst("cuGraphMemcpyNodeSetParams", "hipDrvGraphMemcpyNodeSetParams", "graph");
subst("cuGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cudaGraphExecGetFlags", "hipGraphExecGetFlags", "graph");
subst("cudaGraphExecNodeSetParams", "hipGraphExecNodeSetParams", "graph");
subst("cudaGraphNodeSetParams", "hipGraphNodeSetParams", "graph");
subst("cusolverDnGetDeterministicMode", "hipsolverDnGetDeterministicMode", "library");
subst("cusolverDnSetDeterministicMode", "hipsolverDnSetDeterministicMode", "library");
subst("cusolverDnXgeqrf", "hipsolverDnXgeqrf", "library");
Expand Down Expand Up @@ -9955,7 +9977,6 @@ sub warnUnsupportedFunctions {
"cudaGraphicsCubeFaceNegativeX",
"cudaGraphicsCubeFace",
"cudaGraphRemoveDependencies_v2",
"cudaGraphNodeSetParams",
"cudaGraphNodeGetDependentNodes_v2",
"cudaGraphNodeGetDependencies_v2",
"cudaGraphKernelNodeUpdate",
Expand All @@ -9968,8 +9989,6 @@ sub warnUnsupportedFunctions {
"cudaGraphExecUpdateResultInfo_st",
"cudaGraphExecUpdateResultInfo",
"cudaGraphExecUpdateErrorAttributesChanged",
"cudaGraphExecNodeSetParams",
"cudaGraphExecGetFlags",
"cudaGraphDeviceNode_t",
"cudaGraphDebugDotFlagsConditionalNodeParams",
"cudaGraphConditionalNodeType",
Expand Down Expand Up @@ -10452,18 +10471,11 @@ sub warnUnsupportedFunctions {
"cuGraphicsD3D11RegisterResource",
"cuGraphicsD3D10RegisterResource",
"cuGraphRemoveDependencies_v2",
"cuGraphNodeSetParams",
"cuGraphNodeGetDependentNodes_v2",
"cuGraphNodeGetDependencies_v2",
"cuGraphMemcpyNodeSetParams",
"cuGraphMemcpyNodeGetParams",
"cuGraphGetEdges_v2",
"cuGraphExecNodeSetParams",
"cuGraphExecMemcpyNodeSetParams",
"cuGraphExecGetFlags",
"cuGraphConditionalHandleCreate",
"cuGraphAddNode_v2",
"cuGraphAddMemFreeNode",
"cuGraphAddDependencies_v2",
"cuGLUnregisterBufferObject",
"cuGLUnmapBufferObjectAsync",
Expand Down
15 changes: 8 additions & 7 deletions docs/tables/CUDA_Driver_API_functions_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@
|`cuGraphAddHostNode`|10.0| | | |`hipGraphAddHostNode`|5.0.0| | | | |
|`cuGraphAddKernelNode`|10.0| | | |`hipGraphAddKernelNode`|4.3.0| | | | |
|`cuGraphAddMemAllocNode`|11.4| | | |`hipGraphAddMemAllocNode`|5.5.0| | | | |
|`cuGraphAddMemFreeNode`|11.4| | | | | | | | | |
|`cuGraphAddMemFreeNode`|11.4| | | |`hipDrvGraphAddMemFreeNode`|6.3.0| | | |6.3.0|
|`cuGraphAddMemcpyNode`|10.0| | | |`hipDrvGraphAddMemcpyNode`|6.0.0| | | | |
|`cuGraphAddMemsetNode`|10.0| | | |`hipDrvGraphAddMemsetNode`|6.1.0| | | | |
|`cuGraphAddNode`|12.2| | | |`hipGraphAddNode`|6.2.0| | | | |
Expand All @@ -1926,11 +1926,12 @@
|`cuGraphExecEventWaitNodeSetEvent`|11.1| | | |`hipGraphExecEventWaitNodeSetEvent`|5.0.0| | | | |
|`cuGraphExecExternalSemaphoresSignalNodeSetParams`|11.2| | | |`hipGraphExecExternalSemaphoresSignalNodeSetParams`|5.7.0| | | | |
|`cuGraphExecExternalSemaphoresWaitNodeSetParams`|11.2| | | |`hipGraphExecExternalSemaphoresWaitNodeSetParams`|5.7.0| | | | |
|`cuGraphExecGetFlags`|12.0| | | | | | | | | |
|`cuGraphExecGetFlags`|12.0| | | |`hipGraphExecGetFlags`|6.3.0| | | |6.3.0|
|`cuGraphExecHostNodeSetParams`|10.2| | | |`hipGraphExecHostNodeSetParams`|5.0.0| | | | |
|`cuGraphExecKernelNodeSetParams`|10.1| | | |`hipGraphExecKernelNodeSetParams`|4.5.0| | | | |
|`cuGraphExecMemcpyNodeSetParams`|10.2| | | | | | | | | |
|`cuGraphExecNodeSetParams`|12.2| | | | | | | | | |
|`cuGraphExecMemcpyNodeSetParams`|10.2| | | |`hipDrvGraphExecMemcpyNodeSetParams`|6.3.0| | | |6.3.0|
|`cuGraphExecMemsetNodeSetParams`|10.2| | | |`hipDrvGraphExecMemsetNodeSetParams`|6.3.0| | | |6.3.0|
|`cuGraphExecNodeSetParams`|12.2| | | |`hipGraphExecNodeSetParams`|6.3.0| | | |6.3.0|
|`cuGraphExecUpdate`|10.2| | | |`hipGraphExecUpdate`|5.0.0| | | | |
|`cuGraphExternalSemaphoresSignalNodeGetParams`|11.2| | | |`hipGraphExternalSemaphoresSignalNodeGetParams`|5.7.0| | | | |
|`cuGraphExternalSemaphoresSignalNodeSetParams`|11.2| | | |`hipGraphExternalSemaphoresSignalNodeSetParams`|5.7.0| | | | |
Expand All @@ -1954,8 +1955,8 @@
|`cuGraphLaunch`|10.0| | | |`hipGraphLaunch`|4.3.0| | | | |
|`cuGraphMemAllocNodeGetParams`|11.4| | | |`hipGraphMemAllocNodeGetParams`|5.5.0| | | | |
|`cuGraphMemFreeNodeGetParams`|11.4| | | |`hipGraphMemFreeNodeGetParams`|5.5.0| | | | |
|`cuGraphMemcpyNodeGetParams`|10.0| | | | | | | | | |
|`cuGraphMemcpyNodeSetParams`|10.0| | | | | | | | | |
|`cuGraphMemcpyNodeGetParams`|10.0| | | |`hipDrvGraphMemcpyNodeGetParams`|6.3.0| | | |6.3.0|
|`cuGraphMemcpyNodeSetParams`|10.0| | | |`hipDrvGraphMemcpyNodeSetParams`|6.3.0| | | |6.3.0|
|`cuGraphMemsetNodeGetParams`|10.0| | | |`hipGraphMemsetNodeGetParams`|4.5.0| | | | |
|`cuGraphMemsetNodeSetParams`|10.0| | | |`hipGraphMemsetNodeSetParams`|4.5.0| | | | |
|`cuGraphNodeFindInClone`|10.0| | | |`hipGraphNodeFindInClone`|5.0.0| | | | |
Expand All @@ -1966,7 +1967,7 @@
|`cuGraphNodeGetEnabled`|11.6| | | |`hipGraphNodeGetEnabled`|5.5.0| | | | |
|`cuGraphNodeGetType`|10.0| | | |`hipGraphNodeGetType`|5.0.0| | | | |
|`cuGraphNodeSetEnabled`|11.6| | | |`hipGraphNodeSetEnabled`|5.5.0| | | | |
|`cuGraphNodeSetParams`|12.2| | | | | | | | | |
|`cuGraphNodeSetParams`|12.2| | | |`hipGraphNodeSetParams`|6.3.0| | | |6.3.0|
|`cuGraphReleaseUserObject`|11.3| | | |`hipGraphReleaseUserObject`|5.3.0| | | | |
|`cuGraphRemoveDependencies`|10.0| | | |`hipGraphRemoveDependencies`|5.0.0| | | | |
|`cuGraphRemoveDependencies_v2`|12.3| | | | | | | | | |
Expand Down
6 changes: 3 additions & 3 deletions docs/tables/CUDA_Runtime_API_functions_supported_by_HIP.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,15 +464,15 @@
|`cudaGraphExecEventWaitNodeSetEvent`|11.1| | | |`hipGraphExecEventWaitNodeSetEvent`|5.0.0| | | | |
|`cudaGraphExecExternalSemaphoresSignalNodeSetParams`|11.2| | | |`hipGraphExecExternalSemaphoresSignalNodeSetParams`|5.7.0| | | | |
|`cudaGraphExecExternalSemaphoresWaitNodeSetParams`|11.2| | | |`hipGraphExecExternalSemaphoresWaitNodeSetParams`|5.7.0| | | | |
|`cudaGraphExecGetFlags`|12.0| | | | | | | | | |
|`cudaGraphExecGetFlags`|12.0| | | |`hipGraphExecGetFlags`|6.3.0| | | |6.3.0|
|`cudaGraphExecHostNodeSetParams`|11.0| | | |`hipGraphExecHostNodeSetParams`|5.0.0| | | | |
|`cudaGraphExecKernelNodeSetParams`|11.0| | | |`hipGraphExecKernelNodeSetParams`|4.5.0| | | | |
|`cudaGraphExecMemcpyNodeSetParams`|11.0| | | |`hipGraphExecMemcpyNodeSetParams`|5.0.0| | | | |
|`cudaGraphExecMemcpyNodeSetParams1D`|11.1| | | |`hipGraphExecMemcpyNodeSetParams1D`|5.0.0| | | | |
|`cudaGraphExecMemcpyNodeSetParamsFromSymbol`|11.1| | | |`hipGraphExecMemcpyNodeSetParamsFromSymbol`|5.0.0| | | | |
|`cudaGraphExecMemcpyNodeSetParamsToSymbol`|11.1| | | |`hipGraphExecMemcpyNodeSetParamsToSymbol`|5.0.0| | | | |
|`cudaGraphExecMemsetNodeSetParams`|11.0| | | |`hipGraphExecMemsetNodeSetParams`|5.0.0| | | | |
|`cudaGraphExecNodeSetParams`|12.2| | | | | | | | | |
|`cudaGraphExecNodeSetParams`|12.2| | | |`hipGraphExecNodeSetParams`|6.3.0| | | |6.3.0|
|`cudaGraphExecUpdate`|11.0| | | |`hipGraphExecUpdate`|5.0.0| | | | |
|`cudaGraphExternalSemaphoresSignalNodeGetParams`|11.2| | | |`hipGraphExternalSemaphoresSignalNodeGetParams`|5.7.0| | | | |
|`cudaGraphExternalSemaphoresSignalNodeSetParams`|11.2| | | |`hipGraphExternalSemaphoresSignalNodeSetParams`|5.7.0| | | | |
Expand Down Expand Up @@ -510,7 +510,7 @@
|`cudaGraphNodeGetEnabled`|11.6| | | |`hipGraphNodeGetEnabled`|5.5.0| | | | |
|`cudaGraphNodeGetType`|11.0| | | |`hipGraphNodeGetType`|5.0.0| | | | |
|`cudaGraphNodeSetEnabled`|11.6| | | |`hipGraphNodeSetEnabled`|5.5.0| | | | |
|`cudaGraphNodeSetParams`|12.2| | | | | | | | | |
|`cudaGraphNodeSetParams`|12.2| | | |`hipGraphNodeSetParams`|6.3.0| | | |6.3.0|
|`cudaGraphReleaseUserObject`|11.3| | | |`hipGraphReleaseUserObject`|5.3.0| | | | |
|`cudaGraphRemoveDependencies`|11.0| | | |`hipGraphRemoveDependencies`|5.0.0| | | | |
|`cudaGraphRemoveDependencies_v2`|12.3| | | | | | | | | |
Expand Down
21 changes: 14 additions & 7 deletions src/CUDA2HIP_Driver_API_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,9 +710,9 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DRIVER_FUNCTION_MAP {
// cudaGraphLaunch
{"cuGraphLaunch", {"hipGraphLaunch", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// NOTE: cudaGraphMemcpyNodeGetParams has a different signature
{"cuGraphMemcpyNodeGetParams", {"hipDrvGraphMemcpyNodeGetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphMemcpyNodeGetParams", {"hipDrvGraphMemcpyNodeGetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// NOTE: cudaGraphMemcpyNodeSetParams has a different signature
{"cuGraphMemcpyNodeSetParams", {"hipDrvGraphMemcpyNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphMemcpyNodeSetParams", {"hipDrvGraphMemcpyNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphMemsetNodeGetParams
{"cuGraphMemsetNodeGetParams", {"hipGraphMemsetNodeGetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// cudaGraphMemsetNodeSetParams
Expand All @@ -738,7 +738,9 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DRIVER_FUNCTION_MAP {
// cudaGraphRemoveDependencies_v2
{"cuGraphRemoveDependencies_v2", {"hipGraphRemoveDependencies_v2", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
// no analogue
{"cuGraphExecMemcpyNodeSetParams", {"hipDrvGraphExecMemcpyNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphExecMemcpyNodeSetParams", {"hipDrvGraphExecMemcpyNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// no analogue
{"cuGraphExecMemsetNodeSetParams", {"hipDrvGraphExecMemsetNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphExecHostNodeSetParams
{"cuGraphExecHostNodeSetParams", {"hipGraphExecHostNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// TODO: take into account the new signature since 12.0
Expand Down Expand Up @@ -795,7 +797,7 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DRIVER_FUNCTION_MAP {
// cudaGraphMemAllocNodeGetParams
{"cuGraphMemAllocNodeGetParams", {"hipGraphMemAllocNodeGetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// no analogue
{"cuGraphAddMemFreeNode", {"hipDrvGraphAddMemFreeNode", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphAddMemFreeNode", {"hipDrvGraphAddMemFreeNode", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphMemFreeNodeGetParams
{"cuGraphMemFreeNodeGetParams", {"hipGraphMemFreeNodeGetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// cudaDeviceGraphMemTrim
Expand All @@ -817,15 +819,15 @@ const std::map<llvm::StringRef, hipCounter> CUDA_DRIVER_FUNCTION_MAP {
// cudaGraphInstantiateWithParams
{"cuGraphInstantiateWithParams", {"hipGraphInstantiateWithParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// cudaGraphExecGetFlags
{"cuGraphExecGetFlags", {"hipGraphExecGetFlags", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphExecGetFlags", {"hipGraphExecGetFlags", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphAddNode
{"cuGraphAddNode", {"hipGraphAddNode", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH}},
// cudaGraphAddNode_v2
{"cuGraphAddNode_v2", {"hipGraphAddNode_v2", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
// cudaGraphNodeSetParams
{"cuGraphNodeSetParams", {"hipGraphNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphNodeSetParams", {"hipGraphNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphExecNodeSetParams
{"cuGraphExecNodeSetParams", {"hipGraphExecNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cuGraphExecNodeSetParams", {"hipGraphExecNodeSetParams", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cudaGraphConditionalHandleCreate
{"cuGraphConditionalHandleCreate", {"hipGraphConditionalHandleCreate", "", CONV_GRAPH, API_DRIVER, SEC::GRAPH, HIP_UNSUPPORTED}},

Expand Down Expand Up @@ -1658,6 +1660,11 @@ const std::map<llvm::StringRef, hipAPIversions> HIP_DRIVER_FUNCTION_VER_MAP {
{"hipMemcpyAtoA", {HIP_6020, HIP_0, HIP_0, }},
{"hipMemcpyAtoHAsync", {HIP_6020, HIP_0, HIP_0, }},
{"hipMemcpyHtoAAsync", {HIP_6020, HIP_0, HIP_0, }},
{"hipDrvGraphAddMemFreeNode", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipDrvGraphMemcpyNodeGetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipDrvGraphMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipDrvGraphExecMemcpyNodeSetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipDrvGraphExecMemsetNodeSetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
};

const std::map<llvm::StringRef, cudaAPIChangedVersions> CUDA_DRIVER_FUNCTION_CHANGED_VER_MAP {
Expand Down
9 changes: 6 additions & 3 deletions src/CUDA2HIP_Runtime_API_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,15 +863,15 @@ const std::map<llvm::StringRef, hipCounter> CUDA_RUNTIME_FUNCTION_MAP {
// cuGraphInstantiateWithParams
{"cudaGraphInstantiateWithParams", {"hipGraphInstantiateWithParams", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH}},
// cuGraphExecGetFlags
{"cudaGraphExecGetFlags", {"hipGraphExecGetFlags", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cudaGraphExecGetFlags", {"hipGraphExecGetFlags", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cuGraphAddNode
{"cudaGraphAddNode", {"hipGraphAddNode", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH}},
// cuGraphAddNode_v2
{"cudaGraphAddNode_v2", {"hipGraphAddNode_v2", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_UNSUPPORTED}},
// cuGraphNodeSetParams
{"cudaGraphNodeSetParams", {"hipGraphNodeSetParams", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cudaGraphNodeSetParams", {"hipGraphNodeSetParams", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cuGraphExecNodeSetParams
{"cudaGraphExecNodeSetParams", {"hipGraphExecNodeSetParams", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_UNSUPPORTED}},
{"cudaGraphExecNodeSetParams", {"hipGraphExecNodeSetParams", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_EXPERIMENTAL}},
// cuGraphConditionalHandleCreate
{"cudaGraphConditionalHandleCreate", {"hipGraphConditionalHandleCreate", "", CONV_GRAPH, API_RUNTIME, SEC::GRAPH, HIP_UNSUPPORTED}},

Expand Down Expand Up @@ -1434,6 +1434,9 @@ const std::map<llvm::StringRef, hipAPIversions> HIP_RUNTIME_FUNCTION_VER_MAP {
{"hipStreamBeginCaptureToGraph", {HIP_6020, HIP_0, HIP_0, }},
{"hipSetValidDevices", {HIP_6020, HIP_0, HIP_0, }},
{"hipMemcpy2DArrayToArray", {HIP_6020, HIP_0, HIP_0, }},
{"hipGraphExecGetFlags", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipGraphNodeSetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
{"hipGraphExecNodeSetParams", {HIP_6030, HIP_0, HIP_0, HIP_LATEST}},
};

const std::map<llvm::StringRef, cudaAPIChangedVersions> CUDA_RUNTIME_FUNCTION_CHANGED_VER_MAP {
Expand Down
Loading

0 comments on commit 5ac882a

Please sign in to comment.