DO MORE. CODE LESS. Free software for GPU computing on AMD, Intel, and NVIDIA.
Defines | Functions
Diagnostic functions

Print contents of array. More...

Defines

#define print(exp)   do { std::cout << #exp << " =\n"; print_(exp); } while (0)
 Print array name and data.

Functions

void af::print_ (const array &in)
 Print array contents to screen.
std::ostream & af::operator<< (std::ostream &out, const array in)
 Print to ostream.
void af::info ()
 Display the devices available for computation.

Detailed Description

Print contents of array.


Define Documentation

#define print (   exp)    do { std::cout << #exp << " =\n"; print_(exp); } while (0)

Print array name and data.

Examples:
examples/conv.cpp, and examples/fft.cpp.

Function Documentation

void af::print_ ( const array &  in)

Print array contents to screen.

std::ostream& af::operator<< ( std::ostream &  out,
const array  in 
)

Print to ostream.

void af::info ( )

Display the devices available for computation.

Examples:
examples/fft.cpp, and examples/helloworld.cpp.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines