There was an error while loading. Please reload this page.
1 parent 093fca8 commit eb6a5a9Copy full SHA for eb6a5a9
1 file changed
runtime/contrib/gpu_cl/MemoryManager.h
@@ -69,7 +69,7 @@ class MemoryManager
69
70
if (!CreateTensor(*_context, shape, descriptor, tensor->handle()).ok())
71
{
72
- std::runtime_error("Failed to CreateTensor");
+ throw std::runtime_error("Failed to CreateTensor");
73
}
74
switch (type)
75
0 commit comments