Add stream syncs to vector_search.

This commit is contained in:
FiveMovesAhead 2025-05-02 02:37:07 +01:00
parent 98fa16b3ed
commit 00e6af1764

View File

@ -118,6 +118,8 @@ impl Challenge {
.launch(cfg)?;
}
stream.synchronize()?;
let total_distance = stream.memcpy_dtov(&d_total_distance)?[0];
let error_flag = stream.memcpy_dtov(&errorflag)?[0];