diff options
| author | Tim Murray <timmurray@google.com> | 2012-11-15 14:56:54 -0800 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2012-11-26 12:19:48 -0800 |
| commit | 0b93e30c8c64fb2f985218adfaceff777f62a42f (patch) | |
| tree | 7e2009d7a5e4ec5b3aeb08e07500ad9da39f4ff1 /tests/cppbasic/compute.cpp | |
| parent | 5f3c0c28bd86a676a0fb7d2f32e82bf42e279f3b (diff) | |
Remove size parameter from copy* methods in C++ and add copy*(void* data).
Change-Id: I4905a4774748c9f0d0406f70ce3895ebd68e92ce
Diffstat (limited to 'tests/cppbasic/compute.cpp')
| -rw-r--r-- | tests/cppbasic/compute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
