1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import platform
from spack.package import *
@IntelOneApiPackage.update_description
class IntelOneapiAdvisor(IntelOneApiPackage):
"""Intel Advisor is a design and analysis tool for developing
performant code. The tool supports C, C++, Fortran, SYCL, OpenMP,
OpenCL code, and Python. It helps with the following: Performant
CPU Code: Design your application for efficient threading,
vectorization, and memory use. Efficient GPU Offload: Identify
parts of the code that can be profitably offloaded. Optimize the
code for compute and memory.
"""
maintainers = ["rscohn2"]
homepage = (
"https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/advisor.html"
)
if platform.system() == "Linux":
version(
"2022.3.0",
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18872/l_oneapi_advisor_p_2022.3.0.8704_offline.sh",
sha256="ae1e542e6030b04f70f3b9831b5e92def97ce4692c974da44e7e9d802f25dfa7",
expand=False,
)
version(
"2022.1.0",
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18730/l_oneapi_advisor_p_2022.1.0.171_offline.sh",
sha256="b627dbfefa779b44e7ab40dfa37614e56caa6e245feaed402d51826e6a7cb73b",
expand=False,
)
version(
"2022.0.0",
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18369/l_oneapi_advisor_p_2022.0.0.92_offline.sh",
sha256="f1c4317c2222c56fb2e292513f7eec7ec27eb1049d3600cb975bc08ed1477993",
expand=False,
)
version(
"2021.4.0",
url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18220/l_oneapi_advisor_p_2021.4.0.389_offline.sh",
sha256="dd948f7312629d9975e12a57664f736b8e011de948771b4c05ad444438532be8",
expand=False,
)
@property
def component_dir(self):
return "advisor"
|