| 66 | } |
| 67 | |
| 68 | clfftStatus 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 | |
| 83 | clfftStatus clfftSetPlanPrecision( clfftPlanHandle plHandle, clfftPrecision precision ) |