OWL
|
#include <DeviceContext.h>
Public Member Functions | |
SetActiveGPU (const DeviceContext::SP &device) | |
SetActiveGPU (const DeviceContext *device) | |
helper class that will set the active cuda device (to the device associated with a given Context::DeviceData) for the duration fo the lifetime of this class, and resets it to whatever it was after class dies