Class faiss::gpu::GpuResourcesProviderFromInstance
-
class GpuResourcesProviderFromInstance : public faiss::gpu::GpuResourcesProvider
A simple wrapper for a GpuResources object to make a GpuResourcesProvider out of it again
Public Functions
-
~GpuResourcesProviderFromInstance() override
-
virtual std::shared_ptr<GpuResources> getResources() override
Returns the shared resources object.
Private Members
-
std::shared_ptr<GpuResources> res_
-
~GpuResourcesProviderFromInstance() override