Template Function Pennylane::LightningGPU::Util::innerProdC_CUDA_device¶
Defined in File LinearAlg.hpp
Function Documentation¶
-
template<class T = cuDoubleComplex, class DevTypeID = int>
inline auto Pennylane::LightningGPU::Util::innerProdC_CUDA_device(const T *v1, const T *v2, const int data_size, int dev_id, cudaStream_t stream_id, const CublasCaller &cublas, T *d_result)¶ cuBLAS backed inner product for GPU data.
- Template Parameters
T – Complex data-type. Accepts cuFloatComplex and cuDoubleComplex
- Parameters
v1 – Device data pointer 1
v2 – Device data pointer 2
data_size – Length of device data.
- Returns
T Device data pointer to store inner-product result
api/function_LinearAlg_8hpp_1a5b6bf230a56a59e2d947fb189d78153b
Download Python script
Download Notebook
View on GitHub