SWDEV-240806 - Added API hipLaunchHostFunc and updated graph test for host graph node (#2512)

Change-Id: Idf759064946e503a2b3cc2a38f1a7cb049012688
이 커밋은 다음에 포함됨:
ROCm CI Service Account
2022-02-24 18:56:56 +05:30
커밋한 사람 GitHub
부모 e21231649d
커밋 d305e34173
2개의 변경된 파일45개의 추가작업 그리고 3개의 파일을 삭제
+13
파일 보기
@@ -4401,6 +4401,19 @@ hipError_t hipStreamUpdateCaptureDependencies(hipStream_t stream, hipGraphNode_t
size_t numDependencies,
unsigned int flags __dparm(0));
/**
* @brief Enqueues a host function call in a stream.
*
* @param [in] stream - stream to enqueue work to.
* @param [in] fn - function to call once operations enqueued preceeding are complete.
* @param [in] userData - User-specified data to be passed to the function.
* @returns #hipSuccess, #hipErrorInvalidResourceHandle, #hipErrorInvalidValue,
* #hipErrorNotSupported
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*/
hipError_t hipLaunchHostFunc(hipStream_t stream, hipHostFn_t fn, void* userData);
/**
* @brief Swaps the stream capture mode of a thread.
*