Unverified Commit fe81964d authored by Scott Cyphers's avatar Scott Cyphers Committed by GitHub

Cyphers/exec can create tensors (#3445) (#3462)

* Add method to check if an Executable can create tensors

* Add a Backend check to see if Executable can create tensors

* Update per review comment

* style

* Possible fix so that backend does not keep holding on to the dummy ng_exec
parent 547c8954
......@@ -169,5 +169,6 @@ bool runtime::Backend::executable_can_create_tensors()
catch (...)
{
}
remove_compiled_function(exec);
return exec_can_create_tensors;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment