Function Pennylane::LightningGPU::Util::getGPUIdx¶
Defined in File cuda_helpers.hpp
Function Documentation¶
-
inline int Pennylane::LightningGPU::Util::getGPUIdx()¶
Return the current GPU device.
- Returns:
int
api/function_cuda__helpers_8hpp_1a463e77fba79252ed15bc3bf8b6234da5
Download Python script
Download Notebook
View on GitHub