An open source method of characteristics neutron transport code.
GPUQuery.h File Reference

Routines to check machine for an NVIDIA GPU and print GPU and CUDA hardware characteristics to the screen. More...

Go to the source code of this file.

Functions

bool machine_contains_gpu ()
 
void attach_gpu (int id=0)
 
void print_basic_gpu_info ()
 
void print_detailed_gpu_info ()
 
int get_num_threads_per_warp ()
 

Detailed Description

Routines to check machine for an NVIDIA GPU and print GPU and CUDA hardware characteristics to the screen.

Author
May 30, 2013
William Boyd, MIT, Course 22 (wboyd.nosp@m.@mit.nosp@m..edu)