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/cppallocation/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/cppallocation/compute.cpp')
| -rw-r--r-- | tests/cppallocation/compute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cppallocation/compute.cpp b/tests/cppallocation/compute.cpp index 8439ffb6..5407e06d 100644 --- a/tests/cppallocation/compute.cpp +++ b/tests/cppallocation/compute.cpp @@ -40,11 +40,11 @@ int main(int argc, char** argv) buf[ct] = (uint32_t)ct; } - ain->copy1DRangeFrom(0, numElems, buf, numElems*sizeof(uint32_t)); + ain->copy1DRangeFrom(0, numElems, buf); sc->forEach_multiply(ain, aout); - aout->copy1DRangeTo(0, numElems, buf, numElems*sizeof(uint32_t)); + aout->copy1DRangeTo(0, numElems, buf); for (uint32_t ct=0; ct < numElems; ct++) { if (buf[ct] != ct * 2) { |
