MCPcopy Create free account
hub / github.com/ROCm/clr / Program

Method Program

rocclr/device/pal/palprogram.cpp:177–190  ·  view source on GitHub ↗

================================================================================================

Source from the content-addressed store, hash-verified

175
176// ================================================================================================
177Program::Program(Device& device, amd::Program& owner)
178 : device::Program(device, owner),
179 rawBinary_(nullptr),
180 kernels_(nullptr),
181 codeSegGpu_(nullptr),
182 codeSegment_(nullptr),
183 maxScratchRegs_(0),
184 maxVgprs_(0),
185 executable_(nullptr),
186 loaderContext_(this) {
187 assert(device.isOnline());
188 loader_ = amd::hsa::loader::Loader::Create(&loaderContext_);
189 isHIP_ = (owner.language() == amd::Program::HIP);
190}
191
192Program::Program(NullDevice& device, amd::Program& owner)
193 : device::Program(device, owner),

Callers

nothing calls this directly

Calls 2

isOnlineMethod · 0.80
languageMethod · 0.80

Tested by

no test coverage detected