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
This commit is contained in:
@@ -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:
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user