P4 to Git Change 1725283 by gandryey@gera-lnx-rcf on 2019/01/02 19:03:17

SWDEV-79445 - OCL generic changes and code clean-up
	- Keep the body of all methods in the Program interface

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#44 edit


[ROCm/clr commit: 9b98cc97e6]
Esse commit está contido em:
foreman
2019-01-02 19:27:19 -05:00
commit f03b6623c3
2 arquivos alterados com 23 adições e 16 exclusões
@@ -68,7 +68,7 @@ class HSAILProgram : public roc::Program {
virtual ~HSAILProgram();
protected:
virtual bool createBinary(amd::option::Options* options) final;
virtual bool createBinary(amd::option::Options* options) { return true; }
virtual bool setKernels(amd::option::Options* options, void* binary, size_t binSize) override;
@@ -80,12 +80,7 @@ private:
class LightningProgram : public roc::Program {
public:
LightningProgram(roc::NullDevice& device)
: roc::Program(device) {
isLC_ = true;
xnackEnabled_ = dev().deviceInfo().xnackEnabled_;
machineTarget_ = dev().deviceInfo().machineTargetLC_;
}
LightningProgram(roc::NullDevice& device);
virtual ~LightningProgram() {}
protected: