26 typedef std::shared_ptr<MissProgType> SP;
31 const std::vector<OWLVarDecl> &
varDecls);
34 struct DeviceData :
public RegisteredObject::DeviceData {
35 typedef std::shared_ptr<DeviceData> SP;
42 OptixProgramGroup
pg = 0;
49 RegisteredObject::DeviceData::SP
createOn(
const DeviceContext::SP &device)
override;
52 std::string
toString()
const override;
66 typedef std::shared_ptr<MissProg> SP;
70 MissProgType::SP
type);
75 const DeviceContext::SP &device);
78 std::string
toString()
const override;
88 assert(device && device->ID >= 0 && device->ID < (
int)
deviceData.size());
Definition: MissProg.h:34
OptixProgramGroup pg
Definition: MissProg.h:42
Definition: MissProg.h:25
std::string toString() const override
Definition: MissProg.cpp:47
RegisteredObject::DeviceData::SP createOn(const DeviceContext::SP &device) override
Definition: MissProg.cpp:54
const std::string annotatedProgName
Definition: MissProg.h:60
DeviceData & getDD(const DeviceContext::SP &device) const
Definition: MissProg.h:86
const std::string progName
Definition: MissProg.h:58
Module::SP module
Definition: MissProg.h:55
Definition: MissProg.h:65
std::string toString() const override
Definition: MissProg.cpp:69
void writeSBTRecord(uint8_t *const sbtRecord, const DeviceContext::SP &device)
Definition: MissProg.cpp:76
std::vector< DeviceData::SP > deviceData
Definition: Object.h:86
Definition: SBTObject.h:33
const std::vector< OWLVarDecl > varDecls
Definition: SBTObject.h:70
const size_t varStructSize
Definition: SBTObject.h:66
Definition: SBTObject.h:118
std::shared_ptr< MissProgType > const type
Definition: SBTObject.h:134