Updated to enable for opmult to work
This commit is contained in:
parent
fb617d1722
commit
3304767f2c
11 changed files with 49 additions and 39 deletions
|
|
@ -4,10 +4,14 @@
|
|||
|
||||
namespace kp {
|
||||
|
||||
OpAlgoDispatch::OpAlgoDispatch(const std::shared_ptr<kp::Algorithm>& algorithm)
|
||||
OpAlgoDispatch::OpAlgoDispatch(const std::shared_ptr<kp::Algorithm>& algorithm, bool skipAlgoCheck)
|
||||
{
|
||||
KP_LOG_DEBUG("Kompute OpAlgoDispatch constructor");
|
||||
|
||||
if (!skipAlgoCheck && !algorithm->isInit()) {
|
||||
throw std::runtime_error("Kompute OpAlgoDispatch constructor with non initialised algorithm");
|
||||
}
|
||||
|
||||
this->mAlgorithm = algorithm;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue