Added v3.10.0 for miopengemm, rocm-opencl and rocm (#20235)
This commit is contained in:
parent
2d3e491845
commit
5c0ac61a95
@ -11,10 +11,11 @@ class MiopenOpencl(CMakePackage):
|
||||
"""AMD's library for high performance machine learning primitives."""
|
||||
|
||||
homepage = "https://github.com/ROCmSoftwarePlatform/MIOpen"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-3.8.0.tar.gz"
|
||||
url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-3.10.0.tar.gz"
|
||||
|
||||
maintainers = ['srekolam', 'arjun-raj-kuppala']
|
||||
|
||||
version('3.10.0', sha256='926e43c5583cf70d6b247f9fe45971b8b1cc9668f9c8490c142c7e8b6e268f1a')
|
||||
version('3.9.0', sha256='f57d75a220c1094395cc1dccab2185c759d779751ddbb5369a6f041ec77b2156')
|
||||
version('3.8.0', sha256='612b30d4a967bf18c7fa7aa3ef12ed558314ed04cee2775b842bf6a96cd7276f')
|
||||
version('3.7.0', sha256='f6a6ddd8d39bb76b7f7d91e68ade3b45e0201181145658c43b967065a354b103')
|
||||
@ -29,7 +30,7 @@ class MiopenOpencl(CMakePackage):
|
||||
depends_on('sqlite', type='link')
|
||||
depends_on('half', type='build')
|
||||
depends_on('miopengemm@1.1.6', type='link', when='@3.5.0')
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0']:
|
||||
depends_on('hip@' + ver, type='build', when='@' + ver)
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
depends_on('comgr@' + ver, type='link', when='@' + ver)
|
||||
@ -37,7 +38,7 @@ class MiopenOpencl(CMakePackage):
|
||||
depends_on('rocm-opencl@' + ver, type='build', when='@' + ver)
|
||||
depends_on('rocm-device-libs@' + ver, type='link', when='@' + ver)
|
||||
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
|
||||
for ver in ['3.7.0', '3.8.0', '3.9.0']:
|
||||
for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0']:
|
||||
depends_on('miopengemm@' + ver, type='link', when='@' + ver)
|
||||
|
||||
def cmake_args(self):
|
||||
|
@ -21,6 +21,7 @@ def url_for_version(self, version):
|
||||
url = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-{0}.tar.gz"
|
||||
return url.format(version)
|
||||
|
||||
version('3.10.0', sha256='66d844a17729ab25c1c2a243667d9714eb89fd51e42bfc014e2faf54a8642064')
|
||||
version('3.9.0', sha256='8e1273c35d50e9fd92e303d9bcbdd42ddbfda20844b3248428e16b54928f6dc2')
|
||||
version('3.8.0', sha256='d76f5b4b3b9d1e3589a92f667f39eab5b5ab54ec3c4e04d412035be3ec623547')
|
||||
version('3.7.0', sha256='392b280ca564b120f6b24ec1fe8782cba08a8a5fb52938e8bc3dc887d3fd08fa')
|
||||
@ -31,6 +32,7 @@ def url_for_version(self, version):
|
||||
depends_on('cmake@3:', type='build')
|
||||
depends_on('rocm-cmake@3.5.0', type='build', when='@1.1.6')
|
||||
depends_on('rocm-opencl@3.5.0', type='build', when='@1.1.6')
|
||||
for ver in ['3.7.0', '3.8.0', '3.9.0']:
|
||||
|
||||
for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0']:
|
||||
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
|
||||
depends_on('rocm-opencl@' + ver, type='build', when='@' + ver)
|
||||
|
@ -22,6 +22,7 @@ def url_for_version(self, version):
|
||||
url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-{0}.tar.gz"
|
||||
return url.format(version)
|
||||
|
||||
version('3.10.0', sha256='fdc51f9f1f756406d1e2ffaeee0e247d1b04fc4078f08e581bbaa7da79697ac1')
|
||||
version('3.9.0', sha256='bc6339e7f41850a4a049d085a880cfafd3fd8e1610fb94c572d79753d01aa298')
|
||||
version('3.8.0', sha256='d0d0a0e68a848b7a8fa2d88c1d0352ce68e1e142debf32c31d941904f03c4b2f')
|
||||
|
||||
@ -29,7 +30,7 @@ def url_for_version(self, version):
|
||||
depends_on('grpc@1.28.1+shared', type='build')
|
||||
depends_on('protobuf', type=('build', 'link'))
|
||||
depends_on('libcap', type=('build', 'link'))
|
||||
for ver in ['3.8.0', '3.9.0']:
|
||||
for ver in ['3.8.0', '3.9.0', '3.10.0']:
|
||||
depends_on('rocm-smi-lib@' + ver, type=('build', 'link'), when='@' + ver)
|
||||
|
||||
def patch(self):
|
||||
|
@ -20,16 +20,17 @@ def url_for_version(self, version):
|
||||
url = "https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-{0}.tar.gz"
|
||||
return url.format(version)
|
||||
|
||||
version('3.10.0', sha256='3aa9dc5a5f570320b04b35ee129ce9ff21062d2770df934c6c307913f975e93d')
|
||||
version('3.9.0', sha256='286ff64304905384ce524cd8794c28aee216befd6c9267d4187a12e5a21e2daf')
|
||||
version('3.8.0', sha256='7f75dd1abf3d771d554b0e7b0a7d915ab5f11a74962c92b013ee044a23c1270a')
|
||||
version('3.7.0', sha256='283e1dfe4c3d2e8af4d677ed3c20e975393cdb0856e3ccd77b9c7ed2a151650b')
|
||||
version('3.5.0', sha256='511b617d5192f2d4893603c1a02402b2ac9556e9806ff09dd2a91d398abf39a0')
|
||||
|
||||
depends_on('cmake@3:', type='build')
|
||||
depends_on('mesa~llvm@18.3:', type='link')
|
||||
depends_on('numactl', type='link', when='@3.7.0')
|
||||
depends_on('mesa18~llvm@18.3:', type='link')
|
||||
depends_on('numactl', type='link', when='@3.7.0:')
|
||||
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
|
||||
for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0']:
|
||||
depends_on('hip-rocclr@' + ver, type='build', when='@' + ver)
|
||||
depends_on('comgr@' + ver, type='build', when='@' + ver)
|
||||
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
|
||||
|
Loading…
Reference in New Issue
Block a user