Searched refs:ptr_scalar (Results 1 – 1 of 1) sorted by relevance
522 auto ptr_scalar = reinterpret_cast<float*>(ptr); in CudaAtomicAdd() local523 return std::complex<float>(CudaAtomicAdd(ptr_scalar, value.real()), in CudaAtomicAdd()524 CudaAtomicAdd(ptr_scalar + 1, value.imag())); in CudaAtomicAdd()529 auto ptr_scalar = reinterpret_cast<double*>(ptr); in CudaAtomicAdd() local530 return std::complex<double>(CudaAtomicAdd(ptr_scalar, value.real()), in CudaAtomicAdd()531 CudaAtomicAdd(ptr_scalar + 1, value.imag())); in CudaAtomicAdd()