Base working compilation
This commit is contained in:
parent
5596b6f029
commit
7c3af1189f
8 changed files with 40 additions and 37 deletions
|
|
@ -620,10 +620,9 @@ main()
|
|||
// Run Kompute
|
||||
spdlog::info("Creating manager");
|
||||
kp::Manager mgr;
|
||||
std::vector<uint32_t> data = {0.0, 1.0, 2.0};
|
||||
kp::Tensor tensor({data.size()});
|
||||
kp::Tensor tensor({0.0, 1.0, 2.0});
|
||||
spdlog::info("Calling manager eval w opcreatetensor");
|
||||
mgr.evalOp<kp::OpCreateTensor>(std::shared_ptr<kp::Tensor>(&tensor), data);
|
||||
mgr.evalOp<kp::OpCreateTensor>(std::shared_ptr<kp::Tensor>(&tensor));
|
||||
spdlog::info("Called manager eval success");
|
||||
std::vector<uint32_t> outData = tensor.data();
|
||||
spdlog::info("Output data: {}", outData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue