Cherry-pick CL 1250286 from SC stg.
HSA Finalizer: Add dumping of code object, ISA and executable to loader. This is controlled by loader options -dump-all, -dump-isa, -dump-code, -dump-exec The options can now also be set with env variable LOADER_OPTIONS_APPEND. Added tests to finalizer_offline Testing: smoke, dumping on hardware Reviewed by: Konstantin Zhuravlyov [git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1255351]
This commit is contained in:
@@ -319,6 +319,9 @@ public:
|
||||
|
||||
virtual uint64_t FindHostAddress(uint64_t device_address) = 0;
|
||||
|
||||
virtual void Print(std::ostream& out) = 0;
|
||||
virtual bool PrintToFile(const std::string& filename) = 0;
|
||||
|
||||
protected:
|
||||
Executable() {}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user