SWDEV-277566 - Add amd::Program::load interface

Skeleton implementation to allow change at HIP and OpenCL.

Change-Id: I70e69d33c6870cc96238b2f18010ace86d56147f
Dieser Commit ist enthalten in:
Jason Tang
2021-05-06 14:55:23 -04:00
committet von Jason Tang
Ursprung 6feda9e15c
Commit b2116c2137
2 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
+4
Datei anzeigen
@@ -621,6 +621,10 @@ int32_t Program::build(const std::vector<Device*>& devices, const char* options,
return retval;
}
bool Program::load(const std::vector<Device*>& devices) {
return true;
}
void Program::clear() {
// Destroy old programs if we have any
for (const auto& it : devicePrograms_) {