Skip to content

Commit

Permalink
hipfft: update to 1.0.13 (ROCm 6.0.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Zhao <git@gzgz.dev>
  • Loading branch information
GZGavinZhao committed Apr 7, 2024
1 parent a17e797 commit 1b9599f
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 44 deletions.
14 changes: 14 additions & 0 deletions packages/h/hipfft/abi_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,19 @@ libhipfft.so.0:hipfftSetAutoAllocation
libhipfft.so.0:hipfftSetStream
libhipfft.so.0:hipfftSetWorkArea
libhipfft.so.0:hipfftXtClearCallback
libhipfft.so.0:hipfftXtExec
libhipfft.so.0:hipfftXtExecDescriptor
libhipfft.so.0:hipfftXtExecDescriptorC2C
libhipfft.so.0:hipfftXtExecDescriptorC2R
libhipfft.so.0:hipfftXtExecDescriptorD2Z
libhipfft.so.0:hipfftXtExecDescriptorR2C
libhipfft.so.0:hipfftXtExecDescriptorZ2D
libhipfft.so.0:hipfftXtExecDescriptorZ2Z
libhipfft.so.0:hipfftXtFree
libhipfft.so.0:hipfftXtGetSizeMany
libhipfft.so.0:hipfftXtMakePlanMany
libhipfft.so.0:hipfftXtMalloc
libhipfft.so.0:hipfftXtMemcpy
libhipfft.so.0:hipfftXtSetCallback
libhipfft.so.0:hipfftXtSetCallbackSharedSize
libhipfft.so.0:hipfftXtSetGPUs
2 changes: 1 addition & 1 deletion packages/h/hipfft/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UNKNOWN
libamdhip64.so.6
libc.so.6
libgcc_s.so.1
librocfft.so.0
Expand Down
32 changes: 26 additions & 6 deletions packages/h/hipfft/abi_used_symbols
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
UNKNOWN:hipFree
UNKNOWN:hipMalloc
libamdhip64.so.6:hipFree
libamdhip64.so.6:hipGetDevice
libamdhip64.so.6:hipMalloc
libamdhip64.so.6:hipMemcpy
libamdhip64.so.6:hipSetDevice
libc.so.6:__cxa_atexit
libc.so.6:__errno_location
libc.so.6:__isoc23_strtol
libc.so.6:__stack_chk_fail
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memset
libc.so.6:strlen
libgcc_s.so.1:_Unwind_Resume
librocfft.so.0:rocfft_brick_create
librocfft.so.0:rocfft_brick_destroy
librocfft.so.0:rocfft_cleanup
librocfft.so.0:rocfft_execute
librocfft.so.0:rocfft_execution_info_create
Expand All @@ -15,8 +22,13 @@ librocfft.so.0:rocfft_execution_info_set_load_callback
librocfft.so.0:rocfft_execution_info_set_store_callback
librocfft.so.0:rocfft_execution_info_set_stream
librocfft.so.0:rocfft_execution_info_set_work_buffer
librocfft.so.0:rocfft_field_add_brick
librocfft.so.0:rocfft_field_create
librocfft.so.0:rocfft_field_destroy
librocfft.so.0:rocfft_get_version_string
librocfft.so.0:rocfft_plan_create
librocfft.so.0:rocfft_plan_description_add_infield
librocfft.so.0:rocfft_plan_description_add_outfield
librocfft.so.0:rocfft_plan_description_create
librocfft.so.0:rocfft_plan_description_destroy
librocfft.so.0:rocfft_plan_description_set_data_layout
Expand All @@ -26,27 +38,35 @@ librocfft.so.0:rocfft_plan_get_work_buffer_size
librocfft.so.0:rocfft_setup
libstdc++.so.6:_ZNSt13runtime_errorC1EPKc
libstdc++.so.6:_ZNSt13runtime_errorD1Ev
libstdc++.so.6:_ZNSt6localeC1Ev
libstdc++.so.6:_ZNSt6localeD1Ev
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
libstdc++.so.6:_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
libstdc++.so.6:_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm
libstdc++.so.6:_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev
libstdc++.so.6:_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
libstdc++.so.6:_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev
libstdc++.so.6:_ZNSt8ios_baseC2Ev
libstdc++.so.6:_ZNSt8ios_baseD2Ev
libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E
libstdc++.so.6:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
libstdc++.so.6:_ZSt19__throw_logic_errorPKc
libstdc++.so.6:_ZSt20__throw_length_errorPKc
libstdc++.so.6:_ZSt20__throw_out_of_rangePKc
libstdc++.so.6:_ZSt24__throw_invalid_argumentPKc
libstdc++.so.6:_ZSt28__throw_bad_array_new_lengthv
libstdc++.so.6:_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
libstdc++.so.6:_ZSt9terminatev
libstdc++.so.6:_ZTISt13runtime_error
libstdc++.so.6:_ZTISt9exception
libstdc++.so.6:_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZTVNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZTVNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZTVSt15basic_streambufIcSt11char_traitsIcEE
libstdc++.so.6:_ZdlPv
libstdc++.so.6:_ZTVSt9basic_iosIcSt11char_traitsIcEE
libstdc++.so.6:_ZdlPvm
libstdc++.so.6:_Znwm
libstdc++.so.6:__cxa_allocate_exception
libstdc++.so.6:__cxa_begin_catch
Expand Down
45 changes: 12 additions & 33 deletions packages/h/hipfft/package.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,30 @@
name : hipfft
version : 5.5.1
release : 3
version : 1.0.13
release : 4
source :
- git|https://github.com/ROCmSoftwarePlatform/hipFFT.git : rocm-5.5.1
- git|https://github.com/ROCmSoftwarePlatform/hipFFT.git : rocm-6.0.0
homepage : https://github.com/ROCmSoftwarePlatform/hipFFT
license : MIT
component : programming.library
summary : ROCm FFT marshalling library
description: |
hipFFT is an FFT marshalling library. Currently, hipFFT supports either rocFFT or cuFFT as backends. hipFFT exports an interface that does not require the client to change, regardless of the chosen backend. It sits between the application and the backend FFT library, marshalling inputs into the backend and results back to the application.
clang : yes
builddeps :
- rocfft-devel
- rocm-cmake
- rocm-hip-devel
- rocm-hip
environment: |
declare -A rocm_vars
rocm_vars=(
["HIP_DEVICE_LIB_PATH"]="/usr/lib64/amdgcn/bitcode"
["DEVICE_LIB_PATH"]="/usr/lib64/amdgcn/bitcode"
["HIP_CLANG_PATH"]="/usr/bin"
["HIP_COMPILER"]="clang"
["HIP_LIB_PATH"]="/usr/lib64"
["HIP_PATH"]="/usr"
["HIP_PLATFORM"]="amd"
["HIP_ROCCLR_HOME"]="/usr"
["ROCM_PATH"]="/usr"
["BUILD_FILE_REORG_BACKWARD_COMPATIBILITY"]="OFF"
["HIPCC_VERBOSE"]="0"
# ["AMDGPU_TARGETS"]="gfx1030"
# ["HCC_AMDGPU_TARGETS"]="gfx1030"
)
for name in "${!rocm_vars[@]}"; do
export "$name"="${rocm_vars[$name]}";
export ROCM_CMAKE_FLAGS="$ROCM_CMAKE_FLAGS -D$name=${rocm_vars[$name]}";
done
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=32/-fcf-protection=none}"
setup : |
%patch -p1 -i $pkgfiles/Enable-soversion.patch
%cmake_ninja $ROCM_CMAKE_FLAGS
export ROCM_PATH=/usr
export HIP_CLANG_PATH=/usr/lib64/llvm-rocm/bin
export DEVICE_LIB_PATH=/usr/lib64/amdgcn/bitcode
setup : |
%cmake_ninja -L \
-DCMAKE_INSTALL_LIBDIR=lib%LIBSUFFIX% \
-DROCM_SYMLINK_LIBS=OFF \
-DAMDGPU_TARGETS="%AMDGPU_TARGETS%"
build : |
%ninja_build
install : |
%ninja_install
mv $installdir/usr/lib $installdir/%libdir%
rm -rf $installdir/usr/hipfft
9 changes: 5 additions & 4 deletions packages/h/hipfft/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="3">hipfft</Dependency>
<Dependency release="4">hipfft</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/hipfft/hipfft-export.h</Path>
<Path fileType="header">/usr/include/hipfft/hipfft-version.h</Path>
<Path fileType="header">/usr/include/hipfft/hipfft.h</Path>
<Path fileType="header">/usr/include/hipfft/hipfftXt.h</Path>
<Path fileType="header">/usr/include/hipfft/hiplibxt.h</Path>
<Path fileType="library">/usr/lib64/cmake/hipfft/hipfft-config-version.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/hipfft/hipfft-config.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/hipfft/hipfft-targets-relwithdebinfo.cmake</Path>
Expand All @@ -47,9 +48,9 @@
</Files>
</Package>
<History>
<Update release="3">
<Date>2024-01-06</Date>
<Version>5.5.1</Version>
<Update release="4">
<Date>2024-02-21</Date>
<Version>1.0.13</Version>
<Comment>Packaging update</Comment>
<Name>Gavin Zhao</Name>
<Email>me@gzgz.dev</Email>
Expand Down

0 comments on commit 1b9599f

Please sign in to comment.