From 0b93e30c8c64fb2f985218adfaceff777f62a42f Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Thu, 15 Nov 2012 14:56:54 -0800 Subject: Remove size parameter from copy* methods in C++ and add copy*(void* data). Change-Id: I4905a4774748c9f0d0406f70ce3895ebd68e92ce --- tests/cppbasic/compute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cppbasic/compute.cpp') diff --git a/tests/cppbasic/compute.cpp b/tests/cppbasic/compute.cpp index 782410a2..471b10aa 100644 --- a/tests/cppbasic/compute.cpp +++ b/tests/cppbasic/compute.cpp @@ -39,7 +39,7 @@ int main(int argc, char** argv) for (uint32_t ct=0; ct < t->getCount(); ct++) { buf[ct] = ct | (ct << 16); } - ain->copy1DRangeFrom(0, t->getCount(), buf, t->getCount()*4); + ain->copy1DRangeFrom(0, t->getCount(), buf); sc->forEach_root(ain, aout); printf("for each done\n"); -- cgit v1.2.3