| 37 | operator bool() const final { return get(); } |
| 38 | |
| 39 | void unload() final { |
| 40 | CU_CHECK(cuModuleUnload(get())); |
| 41 | set(nullptr); |
| 42 | } |
| 43 | |
| 44 | const std::string mangledName(const std::string& instantiation) const { |
| 45 | auto iter = mInstanceMangledNames.find(instantiation); |