summaryrefslogtreecommitdiff
path: root/tests/cppbasic/compute.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2012-11-14 17:18:08 -0800
committerTim Murray <timmurray@google.com>2012-11-14 17:18:08 -0800
commita4cbc2b0cf0f6fbdb21e84a3e17585eda1885e3e (patch)
tree72788a7d8c0204c0715dfcb124dc6ec42ff40be9 /tests/cppbasic/compute.cpp
parent684726cbbd177ee4ee9000e9422058547acd237f (diff)
Move to void* pointers for copying within C++ API.
Change-Id: If2eb0d649249a45a79810e8fddab96dc44b9fa68
Diffstat (limited to 'tests/cppbasic/compute.cpp')
-rw-r--r--tests/cppbasic/compute.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cppbasic/compute.cpp b/tests/cppbasic/compute.cpp
index fef116fb..e0151651 100644
--- a/tests/cppbasic/compute.cpp
+++ b/tests/cppbasic/compute.cpp
@@ -39,8 +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, 128*128, (int32_t *)buf, 128*128*4);
- ain->copy1DRangeFromUnchecked(0, t->getCount(), buf, t->getCount()*4);
+ ain->copy1DRangeFrom(0, t->getCount(), buf, t->getCount()*4);
sc->forEach_root(ain, aout);
printf("for each done\n");