SWDEV-241902 - Changes to pass file descriptor and offset to load code object.
Change-Id: I0243cccdeaa533b2a56fde42f12d5424c3b63a3b
This commit is contained in:
committed by
Karthik Jayaprakash
vanhempi
de6e02f98b
commit
a66c56d641
Regular → Executable
+6
-2
@@ -91,7 +91,9 @@ class HSAILProgram : public roc::Program {
|
||||
protected:
|
||||
bool createBinary(amd::option::Options* options) override { return true; }
|
||||
|
||||
virtual bool setKernels(amd::option::Options* options, void* binary, size_t binSize) override;
|
||||
virtual bool setKernels(amd::option::Options* options, void* binary, size_t binSize,
|
||||
amd::Os::FileDesc fdesc = -1, size_t foffset = 0,
|
||||
std::string uri = std::string()) override;
|
||||
|
||||
private:
|
||||
std::string codegenOptions(amd::option::Options* options);
|
||||
@@ -112,7 +114,9 @@ protected:
|
||||
private:
|
||||
bool saveBinaryAndSetType(type_t type, void* rawBinary, size_t size);
|
||||
|
||||
bool setKernels(amd::option::Options* options, void* binary, size_t binSize) final;
|
||||
bool setKernels(amd::option::Options* options, void* binary, size_t binSize,
|
||||
amd::Os::FileDesc fdesc = -1, size_t foffset = 0,
|
||||
std::string uri = std::string()) final;
|
||||
};
|
||||
|
||||
/*@}*/} // namespace roc
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user