mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-20 09:22:21 +08:00
Merge branch 'pr/53'
This commit is contained in:
commit
af5556139f
|
@ -189,7 +189,7 @@ namespace npp
|
||||||
/// Macro for checking error return codes from cuFFT calls.
|
/// Macro for checking error return codes from cuFFT calls.
|
||||||
#define NPP_CHECK_CUFFT(S) do {cufftResult eCUFFTResult; \
|
#define NPP_CHECK_CUFFT(S) do {cufftResult eCUFFTResult; \
|
||||||
eCUFFTResult = S; \
|
eCUFFTResult = S; \
|
||||||
if (eCUFFTResult != NPP_SUCCESS) std::cout << "NPP_CHECK_CUFFT - eCUFFTResult = " << eCUFFTResult << std::endl; \
|
if (eCUFFTResult != CUFFT_SUCCESS) std::cout << "NPP_CHECK_CUFFT - eCUFFTResult = " << eCUFFTResult << std::endl; \
|
||||||
NPP_ASSERT(eCUFFTResult == CUFFT_SUCCESS);} while (false)
|
NPP_ASSERT(eCUFFTResult == CUFFT_SUCCESS);} while (false)
|
||||||
|
|
||||||
} // npp namespace
|
} // npp namespace
|
||||||
|
|
Loading…
Reference in New Issue
Block a user