Function opensn::SetCurrentGPU

Function Documentation

void opensn::SetCurrentGPU(int device)

Makes device, an index into GetVisibleGPUIDs(), the current GPU of the calling thread.