Skip to content

Device global copy kernel implementation #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Prev Previous commit
Next Next commit
change kernel arg size to sizeof(void*)
  • Loading branch information
sherry-yuan committed Mar 4, 2022
commit 28d4a4186a820e17fa247fca44efbf8d6cd72680
5 changes: 2 additions & 3 deletions test/acl_globals_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,9 @@ static acl_kernel_interface_t acltest_kernels[] = {
{// interface
"kernel15_dev_global",
{
{ACL_ARG_ADDR_GLOBAL, ACL_ARG_MEM_OBJ, sizeof(int *), 0, 0, 1},
{ACL_ARG_ADDR_GLOBAL, ACL_ARG_MEM_OBJ, sizeof(int *), 0, 0, 1},
{ACL_ARG_ADDR_GLOBAL, ACL_ARG_MEM_OBJ, sizeof(void *), 0, 0, 1},
{ACL_ARG_ADDR_GLOBAL, ACL_ARG_MEM_OBJ, sizeof(void *), 0, 0, 1},
{ACL_ARG_ADDR_NONE, ACL_ARG_BY_VALUE, sizeof(size_t), 0, 0},
// {ACL_ARG_ADDR_NONE, ACL_ARG_BY_VALUE, sizeof(size_t), 0, 0},
}}};

template <typename T, std::size_t N>
Expand Down