Function gpa::gpu_utility::directx::CreateExecutionBlock

Function Documentation

ExecutionBlockPtr gpa::gpu_utility::directx::CreateExecutionBlock(ID3D12Device *device, gpgmm::d3d12::IResourceAllocator *allocator, gpgmm::d3d12::IResidencyManager *residencyManager, GPADispatchTable const &table)

Initialization per-device assets.

Note

On the first call for particular device creates assets

Parameters
  • device -- [in] The device pointer to hold assets

  • allocator -- [in] The allocator used to create resource-assets.

  • residencyManager -- [in] The residency managed used to control residency.

Returns

Execution block in case of successful initialization, nullptr otherwise