mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-12-16 02:27:49 +08:00
Merge 808bec07c87ca51f7d89670ddc8e2de0944db73d into 11de19f00cd24e244d2f6869c64810d63aafb926
This commit is contained in:
commit
16795a676a
@ -138,7 +138,6 @@ void display(void) {
|
||||
size_t num_bytes;
|
||||
checkCudaErrors(cudaGraphicsResourceGetMappedPointer(
|
||||
(void **)&data, &num_bytes, cuda_pbo_resource));
|
||||
// printf("CUDA mapped PBO: May access %ld bytes\n", num_bytes);
|
||||
|
||||
sobelFilter(data, imWidth, imHeight, g_SobelDisplayMode, imageScale);
|
||||
checkCudaErrors(cudaGraphicsUnmapResources(1, &cuda_pbo_resource, 0));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user