We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40e910 commit 1641f9cCopy full SHA for 1641f9c
aten/src/ATen/native/mps/MetalShaderLibrary.h
@@ -18,6 +18,7 @@ class MetalShaderLibrary {
18
nparams(nparams_),
19
compile_options(compile_options_) {}
20
MetalShaderLibrary(const MetalShaderLibrary&) = delete;
21
+ virtual ~MetalShaderLibrary() = default;
22
inline id<MTLComputePipelineState> getPipelineStateForFunc(
23
const std::string& fname) {
24
return getLibraryPipelineState(getLibrary(), fname).first;
0 commit comments