File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -232,15 +232,8 @@ extern "C" {
232232 * @param[out] setupData Data structure is cleared and initialized with version information and default values
233233 * @return Enum describes the error condition; superset of OpenCL error codes
234234 */
235- __inline clfftStatus clfftInitSetupData ( clfftSetupData * setupData )
236- {
237- setupData -> major = clfftVersionMajor ;
238- setupData -> minor = clfftVersionMinor ;
239- setupData -> patch = clfftVersionPatch ;
240- setupData -> debugFlags = 0 ;
241-
242- return CLFFT_SUCCESS ;
243- }
235+ CLFFTAPI clfftStatus clfftInitSetupData ( clfftSetupData * setupData );
236+
244237
245238 /*! @brief Initialize the internal FFT resources.
246239 * @details The internal resources include FFT implementation caches kernels, programs, and buffers.
Original file line number Diff line number Diff line change 2424#include " ../include/sharedLibrary.h"
2525#include " ../statTimer/statisticalTimer.extern.h"
2626
27+ clfftStatus clfftInitSetupData ( clfftSetupData* setupData )
28+ {
29+ setupData->major = clfftVersionMajor;
30+ setupData->minor = clfftVersionMinor;
31+ setupData->patch = clfftVersionPatch;
32+ setupData->debugFlags = 0 ;
33+
34+ return CLFFT_SUCCESS;
35+ }
36+
2737// Allow AMD's implementation of FFT's to allocate internal resources
2838clfftStatus clfftSetup ( const clfftSetupData* sData )
2939{
You can’t perform that action at this time.
0 commit comments