PyPO User Manual
Debug.h File Reference

Methods for printing complex or real arrays of length 3 for GPU. More...

#include <iostream>

Go to the source code of this file.

Functions

__host__ __device__ void _debugArray (cuFloatComplex arr[3])
 
__host__ __device__ void _debugArray (float arr[3])
 

Detailed Description

Methods for printing complex or real arrays of length 3 for GPU.

Function Documentation

◆ _debugArray() [1/2]

__host__ __device__ void _debugArray ( cuFloatComplex  arr[3])
inline

Debug complex array.

Print complex array of size 3. Useful for debugging.

Parameters
arrArray of 3 cuFloatComplex.

◆ _debugArray() [2/2]

__host__ __device__ void _debugArray ( float  arr[3])
inline

Debug real array.

Print real valued array of size 3. Useful for debugging.

Parameters
arrArray of 3 float.