mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2024-11-24 20:39:17 +08:00
remove the useless printf in Samples/SobelFilter/SobelFilter.cpp
This commit is contained in:
parent
11de19f00c
commit
808bec07c8
|
@ -138,7 +138,6 @@ void display(void) {
|
||||||
size_t num_bytes;
|
size_t num_bytes;
|
||||||
checkCudaErrors(cudaGraphicsResourceGetMappedPointer(
|
checkCudaErrors(cudaGraphicsResourceGetMappedPointer(
|
||||||
(void **)&data, &num_bytes, cuda_pbo_resource));
|
(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);
|
sobelFilter(data, imWidth, imHeight, g_SobelDisplayMode, imageScale);
|
||||||
checkCudaErrors(cudaGraphicsUnmapResources(1, &cuda_pbo_resource, 0));
|
checkCudaErrors(cudaGraphicsUnmapResources(1, &cuda_pbo_resource, 0));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user