SWDEV-277566 - Add amd::Program::load interface
Skeleton implementation to allow change at HIP and OpenCL. Change-Id: I70e69d33c6870cc96238b2f18010ace86d56147f
Αυτή η υποβολή περιλαμβάνεται σε:
υποβλήθηκε από
Jason Tang
γονέας
6feda9e15c
υποβολή
b2116c2137
@@ -221,6 +221,9 @@ class Program : public RuntimeObject {
|
||||
void(CL_CALLBACK* notifyFptr)(cl_program, void*) = NULL, void* data = NULL,
|
||||
bool optionChangable = true, bool newDevProg = true);
|
||||
|
||||
//! Load the program. If devices is not specified, then load program for all devices.
|
||||
bool load(const std::vector<Device*>& devices = {});
|
||||
|
||||
//! RTTI internal implementation
|
||||
virtual ObjectType objectType() const { return ObjectTypeProgram; }
|
||||
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user