Skip to content

Commit 57fec2f

Browse files
committed
OCL: enable clAmdFftGetVersion
1 parent 6ccb7e1 commit 57fec2f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
#undef clAmdFftGetTmpBufSize
8080
#define clAmdFftGetTmpBufSize clAmdFftGetTmpBufSize_pfn
8181
#undef clAmdFftGetVersion
82-
//#define clAmdFftGetVersion clAmdFftGetVersion_pfn
82+
#define clAmdFftGetVersion clAmdFftGetVersion_pfn
8383
#undef clAmdFftSetLayout
8484
#define clAmdFftSetLayout clAmdFftSetLayout_pfn
8585
#undef clAmdFftSetPlanBatchSize
@@ -126,7 +126,7 @@ extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftEnqueueTransform)(clAmdFftPlan
126126
//extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftGetPlanTransposeResult)(const clAmdFftPlanHandle plHandle, clAmdFftResultTransposed* transposed);
127127
//extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftGetResultLocation)(const clAmdFftPlanHandle plHandle, clAmdFftResultLocation* placeness);
128128
extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftGetTmpBufSize)(const clAmdFftPlanHandle plHandle, size_t* buffersize);
129-
//extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftGetVersion)(cl_uint* major, cl_uint* minor, cl_uint* patch);
129+
extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftGetVersion)(cl_uint* major, cl_uint* minor, cl_uint* patch);
130130
extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftSetLayout)(clAmdFftPlanHandle plHandle, clAmdFftLayout iLayout, clAmdFftLayout oLayout);
131131
extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftSetPlanBatchSize)(clAmdFftPlanHandle plHandle, size_t batchSize);
132132
//extern CL_RUNTIME_EXPORT clAmdFftStatus (*clAmdFftSetPlanDim)(clAmdFftPlanHandle plHandle, const clAmdFftDim dim);

modules/core/src/opencl/runtime/autogenerated/opencl_clamdfft_impl.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ enum OPENCLAMDFFT_FN_ID {
2121
// OPENCLAMDFFT_FN_clAmdFftGetPlanTransposeResult = 15,
2222
// OPENCLAMDFFT_FN_clAmdFftGetResultLocation = 16,
2323
OPENCLAMDFFT_FN_clAmdFftGetTmpBufSize = 17,
24-
// OPENCLAMDFFT_FN_clAmdFftGetVersion = 18,
24+
OPENCLAMDFFT_FN_clAmdFftGetVersion = 18,
2525
OPENCLAMDFFT_FN_clAmdFftSetLayout = 19,
2626
OPENCLAMDFFT_FN_clAmdFftSetPlanBatchSize = 20,
2727
// OPENCLAMDFFT_FN_clAmdFftSetPlanDim = 21,
@@ -298,9 +298,9 @@ clAmdFftStatus (*clAmdFftGetTmpBufSize)(const clAmdFftPlanHandle, size_t*) =
298298
openclamdfft_fn2<OPENCLAMDFFT_FN_clAmdFftGetTmpBufSize, clAmdFftStatus, const clAmdFftPlanHandle, size_t*>::switch_fn;
299299
static const struct DynamicFnEntry clAmdFftGetTmpBufSize_definition = { "clAmdFftGetTmpBufSize", (void**)&clAmdFftGetTmpBufSize};
300300

301-
//clAmdFftStatus (*clAmdFftGetVersion)(cl_uint*, cl_uint*, cl_uint*) =
302-
// openclamdfft_fn3<OPENCLAMDFFT_FN_clAmdFftGetVersion, clAmdFftStatus, cl_uint*, cl_uint*, cl_uint*>::switch_fn;
303-
//static const struct DynamicFnEntry clAmdFftGetVersion_definition = { "clAmdFftGetVersion", (void**)&clAmdFftGetVersion};
301+
clAmdFftStatus (*clAmdFftGetVersion)(cl_uint*, cl_uint*, cl_uint*) =
302+
openclamdfft_fn3<OPENCLAMDFFT_FN_clAmdFftGetVersion, clAmdFftStatus, cl_uint*, cl_uint*, cl_uint*>::switch_fn;
303+
static const struct DynamicFnEntry clAmdFftGetVersion_definition = { "clAmdFftGetVersion", (void**)&clAmdFftGetVersion};
304304

305305
clAmdFftStatus (*clAmdFftSetLayout)(clAmdFftPlanHandle, clAmdFftLayout, clAmdFftLayout) =
306306
openclamdfft_fn3<OPENCLAMDFFT_FN_clAmdFftSetLayout, clAmdFftStatus, clAmdFftPlanHandle, clAmdFftLayout, clAmdFftLayout>::switch_fn;
@@ -375,7 +375,7 @@ static const struct DynamicFnEntry* openclamdfft_fn[] = {
375375
NULL/*&clAmdFftGetPlanTransposeResult_definition*/,
376376
NULL/*&clAmdFftGetResultLocation_definition*/,
377377
&clAmdFftGetTmpBufSize_definition,
378-
NULL/*&clAmdFftGetVersion_definition*/,
378+
&clAmdFftGetVersion_definition,
379379
&clAmdFftSetLayout_definition,
380380
&clAmdFftSetPlanBatchSize_definition,
381381
NULL/*&clAmdFftSetPlanDim_definition*/,
@@ -391,4 +391,4 @@ static const struct DynamicFnEntry* openclamdfft_fn[] = {
391391
&clAmdFftTeardown_definition,
392392
};
393393

394-
// number of enabled functions: 15
394+
// number of enabled functions: 16

modules/core/src/opencl/runtime/generator/filter/opencl_clamdfft_functions.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ clAmdFftEnqueueTransform
1616
//clAmdFftGetPlanTransposeResult
1717
//clAmdFftGetResultLocation
1818
clAmdFftGetTmpBufSize
19-
//clAmdFftGetVersion
19+
clAmdFftGetVersion
2020
clAmdFftSetLayout
2121
clAmdFftSetPlanBatchSize
2222
//clAmdFftSetPlanDim

0 commit comments

Comments
 (0)