Added optensorcopy operation

This commit is contained in:
Alejandro Saucedo 2020-09-06 11:07:32 +01:00
parent 93c1ba126e
commit 236c349aa0
13 changed files with 238 additions and 45 deletions

View file

@ -30,9 +30,7 @@ TEST(TestTensor, CopyFromHostData) {
sq->record<kp::OpCreateTensor>({tensorA, tensorB});
tensorA->mapDataIntoHostMemory();
tensorB->recordCopyFrom(tensorA, true);
sq->record<kp::OpTensorCopy>({tensorA, tensorB});
sq->end();