diff options
| author | Tim Murray <timmurray@google.com> | 2012-11-14 17:18:08 -0800 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2012-11-14 17:18:08 -0800 |
| commit | a4cbc2b0cf0f6fbdb21e84a3e17585eda1885e3e (patch) | |
| tree | 72788a7d8c0204c0715dfcb124dc6ec42ff40be9 /tests/cppallocation/compute.cpp | |
| parent | 684726cbbd177ee4ee9000e9422058547acd237f (diff) | |
Move to void* pointers for copying within C++ API.
Change-Id: If2eb0d649249a45a79810e8fddab96dc44b9fa68
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 e770ab20..214ffe90 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->copy1DRangeFromUnchecked(0, numElems, buf, numElems*sizeof(uint32_t)); + ain->copy1DRangeFrom(0, numElems, buf, numElems*sizeof(uint32_t)); sc->forEach_multiply(ain, aout); - aout->copy1DRangeToUnchecked(0, numElems, buf, numElems*sizeof(uint32_t)); + aout->copy1DRangeTo(0, numElems, buf, numElems*sizeof(uint32_t)); for (uint32_t ct=0; ct < numElems; ct++) { if (buf[ct] != ct * 2) { |
