diff --git a/nanovdb/nanovdb/examples/ex_index_grid_cuda/index_grid_cuda.cc b/nanovdb/nanovdb/examples/ex_index_grid_cuda/index_grid_cuda.cc index 8f731b014b..ad8a42ad92 100644 --- a/nanovdb/nanovdb/examples/ex_index_grid_cuda/index_grid_cuda.cc +++ b/nanovdb/nanovdb/examples/ex_index_grid_cuda/index_grid_cuda.cc @@ -33,7 +33,7 @@ int main(int, char**) if (!gpuGrid) throw std::runtime_error("GridHandle did not contain a device grid with value type float"); if (!cpuGrid) throw std::runtime_error("GridHandle did not contain a host grid with value type float"); - launch_kernels(cpuGrid, cpuGrid, stream); // Call a host method to print a grid value on both the CPU and GPU + launch_kernels(gpuGrid, cpuGrid, stream); // Call a host method to print a grid value on both the CPU and GPU cudaStreamDestroy(stream); // Destroy the CUDA stream } @@ -41,4 +41,4 @@ int main(int, char**) std::cerr << "An exception occurred: \"" << e.what() << "\"" << std::endl; } return 0; -} \ No newline at end of file +}