minor updates

This commit is contained in:
Blaise Tine
2022-02-01 22:51:33 -05:00
parent d48f1c1c5f
commit a06812f93f
21 changed files with 73 additions and 70 deletions

View File

@@ -126,9 +126,9 @@ int main(int argc, char *argv[]) {
// upload source buffer0
{
auto buf_ptr = (float*)vx_host_ptr(staging_buf);
auto buf_ptr = (int*)vx_host_ptr(staging_buf);
for (uint32_t i = 0; i < num_points; ++i) {
buf_ptr[i] = i-1;
buf_ptr[i] = i;
}
}
std::cout << "upload source buffer" << std::endl;