P4 to Git Change 1610640 by gandryey@gera-w8 on 2018/09/25 17:34:09
SWDEV-79445 - OCL generic changes and code clean-up Program compilation clean-up. Step#4: - Add common method FindGlobalVarSize() and metadata setup to the abstraction layer Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#6 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#4 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#76 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#32 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#89 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#38 edit
This commit is contained in:
@@ -108,10 +108,7 @@ private:
|
||||
class LightningProgram : public roc::Program {
|
||||
public:
|
||||
LightningProgram(roc::NullDevice& device);
|
||||
virtual ~LightningProgram();
|
||||
|
||||
//! Returns the program metadata.
|
||||
const CodeObjectMD* metadata() const { return metadata_; }
|
||||
virtual ~LightningProgram() {}
|
||||
|
||||
protected:
|
||||
virtual bool linkImpl(amd::option::Options* options) final;
|
||||
@@ -127,8 +124,6 @@ private:
|
||||
bool saveBinaryAndSetType(type_t type, void* rawBinary, size_t size);
|
||||
|
||||
bool setKernels(amd::option::Options* options, void* binary, size_t binSize);
|
||||
|
||||
CodeObjectMD* metadata_; //!< Runtime metadata
|
||||
};
|
||||
#endif // defined(WITH_LIGHTNING_COMPILER)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user