Commit 011df841 authored by Mintz, Tiffany's avatar Mintz, Tiffany
Browse files

fix build errors

parent 8134b5ee
......@@ -13,7 +13,7 @@ void TensorRuntime::openScope(const std::string &scopeName) {
void TensorRuntime::closeScope() { currentScope = ""; }
void TensorRuntime::submit(std::shared_ptr<TensorOperation> op) {
void TensorRuntime::submit(std::shared_ptr<numerics::TensorOperation> op) {
//upate the output tensor executation table
int newop_outid = op->getTensorOperandId(0);
std::map<std::string, std::map<int, int>>::iterator curTableIter;
......@@ -51,7 +51,7 @@ void TensorRuntime::submit(std::shared_ptr<TensorOperation> op) {
mtx.unlock();
}
void TensorRuntime::sync(const std::shared_ptr<TensorOperation> &op) {
void TensorRuntime::sync(const std::shared_ptr<numerics::TensorOperation> &op) {
// sync on a particular tensor, everything related to tensor
bool syncing=true;
int op_outid = op->getTensorOperandId(0);
......
......@@ -23,9 +23,9 @@ public:
void openScope(const std::string &scopeName);
void closeScope();
void submit(std::shared_ptr<TensorOperation> op);
void submit(std::shared_ptr<numerics::TensorOperation> op);
void sync(const std::shared_ptr<TensorOperation> &op);
void sync(const std::shared_ptr<numerics::TensorOperation> &op);
void sync(const exatn::numerics::Tensor &tensor);
......
......@@ -19,8 +19,8 @@ using TensorOp = int;
class TensorOpNode {
public:
TensorOpNode() : op(nullptr) {}
TensorOpNode(std::shared_ptr<TensorOperation> o) : op(o) {}
std::shared_ptr<TensorOperation> op;
TensorOpNode(std::shared_ptr<numerics::TensorOperation> o) : op(o) {}
std::shared_ptr<numerics::TensorOperation> op;
bool executed = false;
bool is_noop = false;
int id;
......
Supports Markdown
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