Function Pennylane::LightningTensor::TNCuda::Util::setWorkSpaceMemory¶
Defined in File tncuda_helpers.hpp
Function Documentation¶
-
inline void Pennylane::LightningTensor::TNCuda::Util::setWorkSpaceMemory(const cutensornetHandle_t &tncuda_handle, cutensornetWorkspaceDescriptor_t &workDesc, void *scratchPtr, std::size_t &worksize)¶
Set memory for a workspace.
- Parameters
tncuda_handle – cutensornetHandle_t
workDesc – cutensornet work space descriptor
scratchPtr – Pointer to scratch memory
worksize – Memory size of a work space
api/function_tncuda__helpers_8hpp_1a81c6293b3c60c61ce81eecda7038e684
Download Python script
Download Notebook
View on GitHub