Added initial base for iteration with command buffer and experimetation with baseoperator
This commit is contained in:
parent
0a1bfe0de8
commit
441efcd8dd
9 changed files with 294 additions and 17 deletions
|
|
@ -60,7 +60,9 @@ Use equations to group operations on memory and execution step
|
|||
int main() {
|
||||
kp::Manager kManager(); // Chooses device 0
|
||||
|
||||
kp::Sequence sq = kManager().createSequence<kp::Sequence>();
|
||||
kp::Sequence sq;
|
||||
kManager.createSequence(&sq);
|
||||
//kManager.createSequence<kp::Sequence>();
|
||||
|
||||
kp::Tensor inputOne;
|
||||
sq.record<kp::OpCreateTensor>(&inputOne, {0, 1, 2, 3}); // Mounts to device and binds to 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue