You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CK has a DeviceOpFactory::GetInstances() API used by MIOpen Solvers that returns a vector<unique_ptr<T>, where T is an abstraction for a kernel. unique_ptr<T> makes it uncacheable inside MIOpen's Invoker lambda thus preventing reuse and forcing multiple calls to GetInstances() especially at the time of invoking a kernel.
I will put up a PR that promotes unique_ptr<T> to shared_ptr<T> thus allowing us to cacheable inside MIOpen's Invoker.
The text was updated successfully, but these errors were encountered:
CK
has aDeviceOpFactory::GetInstances()
API used by MIOpen Solvers that returns avector<unique_ptr<T>
, whereT
is an abstraction for a kernel.unique_ptr<T>
makes it uncacheable inside MIOpen'sInvoker
lambda thus preventing reuse and forcing multiple calls toGetInstances()
especially at the time of invoking a kernel.I will put up a PR that promotes
unique_ptr<T>
toshared_ptr<T>
thus allowing us to cacheable inside MIOpen'sInvoker
.The text was updated successfully, but these errors were encountered: