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

Function clfftLocalMemSize

src/library/accessors.cpp:757–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757clfftStatus clfftLocalMemSize( const clfftPlanHandle plHandle, cl_ulong* local_mem_size )
758{
759 FFTRepo& repo = FFTRepo::getInstance( );
760 FFTPlan* plan = NULL;
761 lockRAII* lock = NULL;
762
763 OPENCL_V( repo.getPlan( plHandle, plan, lock ), _T( "repo.getPlan failed" ) );
764 scopedLock sLock( *lock, _T( "clfftLocalMemSize" ) );
765
766 *local_mem_size = plan->envelope.limit_LocalMemSize;
767 return CLFFT_SUCCESS;
768}
769
770clfftStatus clfftSetPlanCallback(clfftPlanHandle plHandle, const char* funcName,
771 const char* funcString, int localMemSize,

Callers

nothing calls this directly

Calls 1

getPlanMethod · 0.80

Tested by

no test coverage detected