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

Function clfftCreateDefaultPlan

src/library/plan.cpp:353–370  ·  view source on GitHub ↗

This external entry-point should not be called from within the library. Use clfftCreateDefaultPlanInternal instead.

Source from the content-addressed store, hash-verified

351
352// This external entry-point should not be called from within the library. Use clfftCreateDefaultPlanInternal instead.
353clfftStatus clfftCreateDefaultPlan( clfftPlanHandle* plHandle, cl_context context, const clfftDim dim,
354 const size_t* clLengths )
355{
356 clfftStatus ret = clfftCreateDefaultPlanInternal(plHandle, context, dim, clLengths);
357
358 if(ret == CLFFT_SUCCESS)
359 {
360 FFTRepo& fftRepo = FFTRepo::getInstance( );
361 FFTPlan *fftPlan = NULL;
362 lockRAII* planLock = NULL;
363 OPENCL_V( fftRepo.getPlan( *plHandle, fftPlan, planLock ), _T( "fftRepo.getPlan failed" ) );
364
365 fftPlan->userPlan = true;
366 }
367
368 return ret;
369
370}
371
372std::string getKernelName(const clfftGenerators gen, const clfftPlanHandle plHandle, bool withPlHandle)
373{

Callers 11

clfftCopyPlanFunction · 0.85
transformFunction · 0.85
runR2C_FFT_WithCallbackFunction · 0.85
SetUpMethod · 0.85
TEST_FFunction · 0.85
initialize_planMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 2

getPlanMethod · 0.80

Tested by 3

SetUpMethod · 0.68
TEST_FFunction · 0.68
initialize_planMethod · 0.68