Skip to content

Commit 19f17ee

Browse files
authored
Merge pull request #170 from emankov/master
[HIPIFY] Sync cuFFT with hipFFT
2 parents 3aa2ae9 + f511a1d commit 19f17ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/hipify-perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ sub simpleSubstitutions {
915915
$ft{'library'} += s/\bcufftExecR2C\b/hipfftExecR2C/g;
916916
$ft{'library'} += s/\bcufftExecZ2D\b/hipfftExecZ2D/g;
917917
$ft{'library'} += s/\bcufftExecZ2Z\b/hipfftExecZ2Z/g;
918+
$ft{'library'} += s/\bcufftGetProperty\b/hipfftGetProperty/g;
918919
$ft{'library'} += s/\bcufftGetSize\b/hipfftGetSize/g;
919920
$ft{'library'} += s/\bcufftGetSize1d\b/hipfftGetSize1d/g;
920921
$ft{'library'} += s/\bcufftGetSize2d\b/hipfftGetSize2d/g;
@@ -3434,7 +3435,6 @@ sub warnUnsupportedFunctions {
34343435
"curandDirectionVectors64_t",
34353436
"curandDirectionVectorSet_t",
34363437
"curandDirectionVectorSet",
3437-
"cufftGetProperty",
34383438
"cufftCompatibility_t",
34393439
"cufftCompatibility",
34403440
"cudnnWgradMode_t",

src/CUDA2HIP_FFT_API_functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ const std::map<llvm::StringRef, hipCounter> CUDA_FFT_FUNCTION_MAP {
5555
{"cufftSetStream", {"hipfftSetStream", "", CONV_LIB_FUNC, API_FFT}},
5656
{"cufftDestroy", {"hipfftDestroy", "", CONV_LIB_FUNC, API_FFT}},
5757
{"cufftGetVersion", {"hipfftGetVersion", "", CONV_LIB_FUNC, API_FFT}},
58-
{"cufftGetProperty", {"hipfftGetProperty", "", CONV_LIB_FUNC, API_FFT, HIP_UNSUPPORTED}},
58+
{"cufftGetProperty", {"hipfftGetProperty", "", CONV_LIB_FUNC, API_FFT}},
5959
};

0 commit comments

Comments
 (0)