MCPcopy Create free account
hub / github.com/GollyGang/ready / SetDevice

Method SetDevice

src/readybase/OpenCL_MixIn.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74// ---------------------------------------------------------------------------
75
76void OpenCL_MixIn::SetDevice(int i)
77{
78 if(i != this->iDevice)
79 this->need_reload_context = true;
80 this->iDevice = i;
81}
82
83// ---------------------------------------------------------------------------
84

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected