RTAS Parallel Operation - Experimental#
oneAPI Level Zero Specification - Version 1.18.31
RTAS Parallel Operation - Experimental Functions#
zeRTASParallelOperationCreateExp#
Added in version 1.7
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeRTASParallelOperationCreateExp(ze_driver_handle_t hDriver, ze_rtas_parallel_operation_exp_handle_t *phParallelOperation)#
Creates a ray tracing acceleration structure builder parallel operation object.
The application may call this function from simultaneous threads.
The implementation of this function must be thread-safe.
The implementation must support ZE_RTAS_BUILDER_EXP_NAME extension.
- Parameters:
hDriver – [in] handle of driver object
phParallelOperation – [out] handle of parallel operation object
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hDriver
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == phParallelOperation
zeRTASParallelOperationGetPropertiesExp#
Added in version 1.7
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeRTASParallelOperationGetPropertiesExp(ze_rtas_parallel_operation_exp_handle_t hParallelOperation, ze_rtas_parallel_operation_exp_properties_t *pProperties)#
Retrieves ray tracing acceleration structure builder parallel operation properties.
The application must first bind the parallel operation object to a build operation before it may query the parallel operation properties. In other words, the application must first call zeRTASBuilderBuildExp with hParallelOperation before calling this function.
The application may call this function from simultaneous threads.
The implementation of this function must be thread-safe.
- Parameters:
hParallelOperation – [in] handle of parallel operation object
pProperties – [in,out] query result for parallel operation properties
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hParallelOperation
ZE_RESULT_ERROR_INVALID_NULL_POINTER
nullptr == pProperties
zeRTASParallelOperationJoinExp#
Added in version 1.7
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeRTASParallelOperationJoinExp(ze_rtas_parallel_operation_exp_handle_t hParallelOperation)#
Joins a parallel build operation.
All worker threads return the same error code for the parallel build operation upon build completion
- Parameters:
hParallelOperation – [in] handle of parallel operation object
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hParallelOperation
zeRTASParallelOperationDestroyExp#
Added in version 1.7
-
ZE_APIEXPORT ze_result_t ZE_APICALL zeRTASParallelOperationDestroyExp(ze_rtas_parallel_operation_exp_handle_t hParallelOperation)#
Destroys a ray tracing acceleration structure builder parallel operation object.
The implementation of this function may immediately release any internal Host and Device resources associated with this parallel operation.
The application must not call this function from simultaneous threads with the same parallel operation handle.
The implementation of this function must be thread-safe.
- Parameters:
hParallelOperation – [in][release] handle of parallel operation object to destroy
- Returns:
ZE_RESULT_ERROR_INVALID_NULL_HANDLE
nullptr == hParallelOperation
RTAS Parallel Operation - Experimental Enums#
ze_rtas_parallel_operation_exp_flags_t#
Added in version 1.7
RTAS Parallel Operation - Experimental Structures#
ze_rtas_parallel_operation_exp_properties_t#
Added in version 1.7
-
struct ze_rtas_parallel_operation_exp_properties_t#
Ray tracing acceleration structure builder parallel operation properties.
Public Members
-
ze_structure_type_t stype#
[in] type of this structure
-
void *pNext#
[in,out][optional] must be null or a pointer to an extension-specific structure (i.e. contains stype and pNext).
-
ze_rtas_parallel_operation_exp_flags_t flags#
[out] ray tracing acceleration structure builder parallel operation flags
-
uint32_t maxConcurrency#
[out] maximum number of threads that may join the parallel operation
-
ze_structure_type_t stype#