Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 9f4d15f

Browse files
committed
Added data readback step to Quick Start example in README.md
1 parent c61a19c commit 9f4d15f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ kernel((Index1D)length, bufA.View, bufB.View, bufC.View);
5353
// Wait for GPU to complete (async required in Blazor WASM)
5454
await accelerator.SynchronizeAsync();
5555

56+
// Read back the results
57+
var results = await bufC.CopyToHostAsync();
58+
5659
// Define the kernel
5760
static void VectorAddKernel(Index1D index, ArrayView<float> a, ArrayView<float> b, ArrayView<float> c)
5861
{

0 commit comments

Comments
 (0)