diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py index 116fbcbdff..ff59ad18f6 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py @@ -11,22 +11,24 @@ from spack.package import * @IntelOneApiPackage.update_description class IntelOneapiDpct(IntelOneApiPackage): """The Intel DPC++ Compatibility Tool assists in migrating your - existing CUDA code to SYCL code. The tool ports both CUDA - language kernels and library API calls. Typically, 90%-95% of - CUDA code automatically migrates to SYCL code. + existing CUDA code to SYCL code. The tool ports both CUDA + language kernels and library API calls. Typically, 90%-95% of + CUDA code automatically migrates to SYCL code. """ - maintainers = ['rscohn2'] + maintainers = ["rscohn2"] - homepage = 'https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html#gs.2p8km6' + homepage = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html#gs.2p8km6" - if platform.system() == 'Linux': - version('2022.1.0', - url='https://registrationcenter-download.intel.com/akdlm/irc_nas/18746/l_dpcpp-ct_p_2022.1.0.172_offline.sh', - sha256='ec42f4df3f9daf1af587b14b8b6644c773a0b270e03dd22ac9e2f49131e3e40c', - expand=False) + if platform.system() == "Linux": + version( + "2022.1.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18746/l_dpcpp-ct_p_2022.1.0.172_offline.sh", + sha256="ec42f4df3f9daf1af587b14b8b6644c773a0b270e03dd22ac9e2f49131e3e40c", + expand=False, + ) @property def component_dir(self): - return 'dpcpp-ct' + return "dpcpp-ct" |