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

Function clfftSetPlanDistance

src/library/accessors.cpp:567–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565}
566
567clfftStatus clfftSetPlanDistance( clfftPlanHandle plHandle, size_t iDist, size_t oDist )
568{
569 FFTRepo& fftRepo = FFTRepo::getInstance( );
570 FFTPlan* fftPlan = NULL;
571 lockRAII* planLock = NULL;
572
573 OPENCL_V( fftRepo.getPlan( plHandle, fftPlan, planLock ), _T( "fftRepo.getPlan failed" ) );
574 scopedLock sLock( *planLock, _T( "clfftSetPlanDistance" ) );
575
576 // If we modify the state of the plan, we assume that we can't trust any pre-calculated contents anymore
577 fftPlan->baked = false;
578 fftPlan->iDist = iDist;
579 fftPlan->oDist = oDist;
580
581 return CLFFT_SUCCESS;
582}
583
584clfftStatus clfftGetLayout( const clfftPlanHandle plHandle, clfftLayout* iLayout, clfftLayout* oLayout )
585{

Callers 6

transformFunction · 0.85
runR2C_FFT_WithCallbackFunction · 0.85
TEST_FFunction · 0.85
initialize_planMethod · 0.85
clAmdFftSetPlanDistanceFunction · 0.85

Calls 1

getPlanMethod · 0.80

Tested by 2

TEST_FFunction · 0.68
initialize_planMethod · 0.68