SWDEV-243423 - Avoid repeated metadata processing if the unbundled binary_ptr is same.

Change-Id: I71e008021b728dec61187d9ff29483ad8c4cad5c
This commit is contained in:
kjayapra-amd
2020-07-06 19:26:40 -04:00
committato da Karthik Jayaprakash
parent 9ed1767c02
commit e993bf9f47
4 ha cambiato i file con 23 aggiunte e 7 eliminazioni
+2 -1
Vedi File
@@ -175,7 +175,8 @@ class Program : public RuntimeObject {
//! Add a new device program with or without binary image and options.
int32_t addDeviceProgram(Device&, const void* image = NULL, size_t len = 0,
bool make_copy = true, amd::option::Options* options = NULL);
bool make_copy = true, amd::option::Options* options = NULL,
const amd::Program* same_prog = nullptr);
//! Find the section for the given device. Return NULL if not found.
device::Program* getDeviceProgram(const Device& device) const;