MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / clfftGetPlanPrecision

Function clfftGetPlanPrecision

src/library/accessors.cpp:68–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68clfftStatus clfftGetPlanPrecision( const clfftPlanHandle plHandle, clfftPrecision* precision )
69{
70 FFTRepo& fftRepo = FFTRepo::getInstance( );
71 FFTPlan* fftPlan = NULL;
72 lockRAII* planLock = NULL;
73
74 OPENCL_V( fftRepo.getPlan( plHandle, fftPlan, planLock ), _T( "fftRepo.getPlan failed" ) );
75 scopedLock sLock( *planLock, _T( "clfftGetPlanPrecision" ) );
76
77 *precision = fftPlan->precision;
78
79 return CLFFT_SUCCESS;
80}
81
82
83clfftStatus clfftSetPlanPrecision( clfftPlanHandle plHandle, clfftPrecision precision )

Callers 5

TEST_FFunction · 0.85
verbose_outputMethod · 0.85
set_input_precallbackMethod · 0.85
clAmdFftGetPlanPrecisionFunction · 0.85

Calls 1

getPlanMethod · 0.80

Tested by 4

TEST_FFunction · 0.68
verbose_outputMethod · 0.68
set_input_precallbackMethod · 0.68