P4 to Git Change 1348378 by gandryey@gera-ocl-lc on 2016/12/01 16:16:14
SWDEV-98415 - [CQE OCL][OpenCL on PAL] Failures/Crash is observed with multiple modules of ocltst
- Fix program compilation on LC path. Add program constructor for the real device.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#14 edit
[ROCm/clr commit: 0b136f4765]
This commit is contained in:
@@ -296,6 +296,11 @@ public:
|
||||
metadata_(nullptr)
|
||||
{}
|
||||
|
||||
LightningProgram(Device& device)
|
||||
: HSAILProgram(device),
|
||||
metadata_(nullptr)
|
||||
{}
|
||||
|
||||
const amd::hsa::code::Program::Metadata* metadata() const {
|
||||
return metadata_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user