SWDEV-240806 - Added API hipLaunchHostFunc and updated graph test for host graph node (#2512)
Change-Id: Idf759064946e503a2b3cc2a38f1a7cb049012688
이 커밋은 다음에 포함됨:
@@ -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.
|
||||
*
|
||||
|
||||
새 이슈에서 참조
사용자 차단