Function Pennylane::LightningTensor::TNCuda::Util::getWorkSpaceMemorySize

Function Documentation

inline std::size_t Pennylane::LightningTensor::TNCuda::Util::getWorkSpaceMemorySize(const cutensornetHandle_t &tncuda_handle, cutensornetWorkspaceDescriptor_t &workDesc)

Returns the workspace size.

Parameters
  • tncuda_handle – cutensornetHandle_t

  • workDesc – cutensornetWorkspaceDescriptor_t

Returns

std::size_t