OWL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
owl::SetActiveGPU Struct Reference

#include <DeviceContext.h>

Public Member Functions

 SetActiveGPU (const DeviceContext::SP &device)
 
 SetActiveGPU (const DeviceContext *device)
 

Detailed Description

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


The documentation for this struct was generated from the following file: