Skip to content

Commit

Permalink
Small fixes for VCK5000 tests (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddierichter-amd authored Sep 26, 2024
1 parent 9049aa2 commit 41f3712
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int main(int argc, char *argv[]) {
}

// Pass arguments in the order of dma_memcpys in the mlir
invoke_data_movement(queues[0], &agents[0], out, in_a);
invoke_data_movement(queues[0], &agents[0], in_a, out);

int errors = 0;

Expand Down
2 changes: 1 addition & 1 deletion programming_examples/basic/vector_vector_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ vck5000: devicename=xcvc1902
vck5000: col=6

vck5000: build/aie.mlir
aiecc.py --no-xchesscc --no-xbridge --peano ${PEANO_DIR} \
aiecc.py \
--link_against_hsa --host-target=x86_64-amd-linux-gnu build/aie.mlir \
-I${srcdir}/../../../install/runtime_lib/x86_64-hsa/test_lib/include \
${srcdir}/test_vck5000.cpp \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
}

// Pass arguments in the order of dma_memcpys in the mlir
invoke_data_movement(queues[0], &agents[0], out, in_a, in_b);
invoke_data_movement(queues[0], &agents[0], in_a, in_b, out);

int errors = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
}

// Pass arguments in the order of dma_memcpys in the mlir
invoke_data_movement(queues[0], &agents[0], out, in_a, in_b);
invoke_data_movement(queues[0], &agents[0], in_a, in_b, out);

int errors = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) {
}

// Pass arguments in the order of dma_memcpys in the mlir
invoke_data_movement(queues[0], &agents[0], out, in_a, in_b);
invoke_data_movement(queues[0], &agents[0], in_a, in_b, out);

int errors = 0;

Expand Down

0 comments on commit 41f3712

Please sign in to comment.