SWDEV-325711 - Added graph API hipGraphUpload
Change-Id: I7e4c8c997a5ef940000d599ded9d317d62b8826b
이 커밋은 다음에 포함됨:
1 부모
3e47c052e0
커밋
596b16da5a
1 파일이 변경됨
+6
-1
@@ -2200,5 +2200,10 @@ hipError_t hipGraphNodeGetEnabled(hipGraphExec_t hGraphExec, hipGraphNode_t hNod
|
||||
|
||||
hipError_t hipGraphUpload(hipGraphExec_t graphExec, hipStream_t stream) {
|
||||
HIP_INIT_API(hipGraphUpload, graphExec, stream);
|
||||
HIP_RETURN(hipErrorNotSupported);
|
||||
if (graphExec == nullptr || !hip::isValid(stream)) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
// TODO: stream is known before launch, do preperatory work with graph optimizations. pre-allocate
|
||||
// memory for memAlloc nodes if any when support is added with mempool feature
|
||||
HIP_RETURN(hipSuccess);
|
||||
}
|
||||
새 이슈에서 참조
사용자 차단