Skip to content

Commit

Permalink
add explicit wait.
Browse files Browse the repository at this point in the history
  • Loading branch information
freibold committed Sep 16, 2024
1 parent f6e57b8 commit fc761bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernels/rthwif/testing/rthwif_cornell_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ int main(int argc, char* argv[]) try
void* bvh = alloc_accel_buffer(accelBytes,device,context,accelAllocType);

queue.memcpy(bvh, accelHost, accelBytes);
queue.wait_and_throw();

/* creates framebuffer */
const uint32_t width = global_width;
Expand Down

0 comments on commit fc761bf

Please sign in to comment.