cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

VulkanBaseApp.cpp is using std::numeric_limits but not including <limits>

Open Dryn opened this issue 3 years ago • 1 comments

Lines 696, 1691 and 1695 of VulkanBaseApp.cpp in the simpleVulkanMMap sample are using std::numeric_limits in VulkanBaseApp.cpp but #include <limits> isn't added to correctly reference.

Please add #include <limits> in the beginning.

Anologue for the simpleVulkan sample.

Dryn avatar Nov 11 '22 21:11 Dryn

@Dryn I encountered same problem. And, I found this PR(https://github.com/NVIDIA/cuda-samples/pull/135) to resolve this problem.

atinfinity avatar Nov 26 '22 16:11 atinfinity