SWDEV-421025 Graph Kernel Node Attr ID/Value for Nvidia

Change-Id: Ia4676acbadf30fab4041ac7939c8dc6e3996b4e7


[ROCm/hipother commit: 8195ac393a]
이 커밋은 다음에 포함됨:
Rahul Manocha가 2024-01-23 20:35:53 -08:00를 커밋했습니다
1 부모 e1442e9abb
커밋 ff34ff3093
1 파일이 변경됨
+23
+23
파일 보기
@@ -1574,6 +1574,20 @@ typedef union cudaKernelNodeAttrValue hipKernelNodeAttrValue;
typedef enum cudaKernelNodeAttrID hipKernelNodeAttrID;
#define hipKernelNodeAttributeAccessPolicyWindow cudaKernelNodeAttributeAccessPolicyWindow
#define hipKernelNodeAttributeCooperative cudaKernelNodeAttributeCooperative
#define hipKernelNodeAttributePriority cudaKernelNodeAttributePriority
#if CUDA_VERSION >= CUDA_12000
typedef enum cudaGraphInstantiateResult hipGraphInstantiateResult;
#define hipGraphInstantiateSuccess cudaGraphInstantiateSuccess
#define hipGraphInstantiateError cudaGraphInstantiateError
#define hipGraphInstantiateInvalidStructure cudaGraphInstantiateInvalidStructure
#define hipGraphInstantiateNodeOperationNotSupported cudaGraphInstantiateNodeOperationNotSupported
#define hipGraphInstantiateMultipleDevicesNotSupported \
cudaGraphInstantiateMultipleDevicesNotSupported
#define hipGraphInstantiateParams cudaGraphInstantiateParams
#endif
typedef enum cudaAccessProperty hipAccessProperty;
#define hipAccessPropertyNormal cudaAccessPropertyNormal
#define hipAccessPropertyStreaming cudaAccessPropertyStreaming
@@ -3595,6 +3609,15 @@ inline static hipError_t hipGraphInstantiate(hipGraphExec_t* pGraphExec, hipGrap
cudaGraphInstantiate(pGraphExec, graph, pErrorNode, pLogBuffer, bufferSize));
}
#if CUDA_VERSION >= CUDA_12000
inline static hipError_t hipGraphInstantiateWithParams(hipGraphExec_t* pGraphExec, hipGraph_t graph,
hipGraphInstantiateParams *instantiateParams)
{
return hipCUDAErrorTohipError(cudaGraphInstantiateWithParams(pGraphExec, graph,
instantiateParams));
}
#endif
#if CUDA_VERSION >= CUDA_11040
inline static hipError_t hipGraphInstantiateWithFlags(hipGraphExec_t* pGraphExec, hipGraph_t graph,
unsigned long long flags) {