Skip to content

Commit 876be57

Browse files
authored
Intel(R) SHMEM Library (ISHMEM) 1.3.0 doc pages
Signed-off-by: sys_shmem <[email protected]>
1 parent ad7cd84 commit 876be57

File tree

111 files changed

+3552
-3109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+3552
-3109
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023 Intel Corporation.
1+
Copyright (c) 2024 Intel Corporation.
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions are

docs/_sources/compiling_and_running_programs.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,29 @@ Intel® SHMEM build configuration::
4444

4545
See section :ref:`Library Constants<library_constants>` for more information
4646
about these variables.
47+
48+
Selecting SPIR-V Compilation Targets
49+
------------------------------------
50+
51+
On some systems, you may encounter an error in which the correct SPIR-V targets
52+
are not successfully selected when linking with Intel® SHMEM. This may result in
53+
problems when using device-initiated communication including compilation
54+
warnings: ::
55+
56+
icpx: warning: linked binaries do not contain expected 'spir64-unknown-unknown' target; found targets: 'spir64_gen-unknown-unknown' [-Wsycl-target]
57+
58+
as well as runtime errors: ::
59+
60+
terminate called after throwing an instance of 'sycl::_V1::compile_program_error'
61+
what(): The program was built for 1 devices
62+
Build program log for 'Intel(R) Data Center GPU Max 1550':
63+
Module <0x29941d0>: Unresolved Symbol <_Z13ishmem_putmemPvPKvmi>
64+
Module <0x29941d0>: Unresolved Symbol <_Z13ishmem_putmemPvPKvmi>
65+
Module <0x29941d0>: Unresolved Symbol <_Z13ishmem_putmemPvPKvmi>
66+
Module <0x29941d0>: Unresolved Symbol <_Z13ishmem_putmemPvPKvmi> -11 (PI_ERROR_BUILD_PROGRAM_FAILURE)
67+
68+
This error can be resolved by indicating the desired target at compile time. To
69+
compile with the appropriate target for a Intel® Data Center GPU Max 1550 (PVC)
70+
GPU, add the following flags when linking: ::
71+
72+
-fsycl-targets=spir64_gen --start-no-unused-arguments -Xs "-device pvc" --end-no-unused-arguments --start-no-unused-arguments -Xsycl-target-backend "-q" --end-no-unused-arguments

docs/_sources/library_setup_exit_query.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,27 @@ Callable from the **host**.
5050
Indicates which runtime is used to initialize Intel® SHMEM: either
5151
OpenSHMEM, MPI, or PMI.
5252

53-
.. important:: As of Intel® SHMEM |version| only ISHMEM_RUNTIME_OPENSHMEM is supported.
53+
.. important:: As of Intel® SHMEM |version| only ISHMEM_RUNTIME_OPENSHMEM and ISHMEM_RUNTIME_MPI are supported.
5454

5555
.. _ishmemx_attr_t:
5656
.. cpp:struct:: ishmemx_attr_t
5757

5858
.. c:var:: ishmemx_runtime_type_t runtime
5959
.. c:var:: bool initialize_runtime = true
6060
.. c:var:: bool gpu = true
61+
.. c:var:: void *mpi_comm
6162
6263
**Description:**
6364
A struct declaration describing attributes for initialization.
6465
A valid **runtime** enumeration value must be set by the user and must
6566
correspond to a runtime that is enabled within the build of the ``ishmem``
6667
library.
67-
By default, the parallel runtime is assumed to be initialized by the user
68-
(**initialize_runtime** default is ``false``).
68+
By default, the parallel runtime is initialized by Intel® SHMEM
69+
(**initialize_runtime** default is ``true``).
6970
The **gpu** boolean indicates whether to use GPU memory for the symmetric
70-
heap (default is ``false``).
71+
heap (default is ``true``). **mpi_comm** is a pointer to the corresponding
72+
MPI communicator for representing ``ISHMEM_TEAM_WORLD`` when used with
73+
``ISHMEM_RUNTIME_MPI`` (default is ``MPI_COMM_WORLD``).
7174

7275
.. _ishmemx_init_attr:
7376
.. cpp:function:: void ishmemx_init_attr(ishmemx_attr_t * attr)

docs/_sources/writing_programs.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
Writing Intel® SHMEM Programs
55
========================================
66

7-
Intel® SHMEM Programs require including the following header files::
7+
Intel® SHMEM Programs require including the following header file::
88

9-
#include <CL/sycl.hpp>
109
#include <ishmem.h>
1110

1211
Here is how to :ref:`initialize<library_setup_exit_query_routines>` the

docs/_static/basic.css

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* basic.css
3-
* ~~~~~~~~~
4-
*
52
* Sphinx stylesheet -- basic theme.
6-
*
7-
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114

125
/* -- main layout ----------------------------------------------------------- */
@@ -115,15 +108,11 @@ img {
115108
/* -- search page ----------------------------------------------------------- */
116109

117110
ul.search {
118-
margin: 10px 0 0 20px;
119-
padding: 0;
111+
margin-top: 10px;
120112
}
121113

122114
ul.search li {
123-
padding: 5px 0 5px 20px;
124-
background-image: url(file.png);
125-
background-repeat: no-repeat;
126-
background-position: 0 7px;
115+
padding: 5px 0;
127116
}
128117

129118
ul.search li a {
@@ -237,6 +226,10 @@ a.headerlink {
237226
visibility: hidden;
238227
}
239228

229+
a:visited {
230+
color: #551A8B;
231+
}
232+
240233
h1:hover > a.headerlink,
241234
h2:hover > a.headerlink,
242235
h3:hover > a.headerlink,
@@ -670,6 +663,16 @@ dd {
670663
margin-left: 30px;
671664
}
672665

666+
.sig dd {
667+
margin-top: 0px;
668+
margin-bottom: 0px;
669+
}
670+
671+
.sig dl {
672+
margin-top: 0px;
673+
margin-bottom: 0px;
674+
}
675+
673676
dl > dd:last-child,
674677
dl > dd:last-child > :last-child {
675678
margin-bottom: 0;

docs/_static/doctools.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
/*
2-
* doctools.js
3-
* ~~~~~~~~~~~
4-
*
52
* Base JavaScript utilities for all Sphinx HTML documentation.
6-
*
7-
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
8-
* :license: BSD, see LICENSE for details.
9-
*
103
*/
114
"use strict";
125

docs/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '1.2.0',
2+
VERSION: '1.3.0',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

docs/_static/language_data.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
/*
2-
* language_data.js
3-
* ~~~~~~~~~~~~~~~~
4-
*
52
* This script contains the language-specific data used by searchtools.js,
63
* namely the list of stopwords, stemmer, scorer and splitter.
7-
*
8-
* :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
9-
* :license: BSD, see LICENSE for details.
10-
*
114
*/
125

136
var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];
147

158

16-
/* Non-minified version is copied as a separate JS file, is available */
9+
/* Non-minified version is copied as a separate JS file, if available */
1710

1811
/**
1912
* Porter Stemmer

docs/_static/locales/ar/LC_MESSAGES/booktheme.po

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,68 @@ msgstr ""
88
"Language: ar\n"
99
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1010

11-
msgid "suggest edit"
12-
msgstr "أقترح تحرير"
11+
msgid "By the"
12+
msgstr "بواسطة"
1313

14-
msgid "Last updated on"
15-
msgstr "آخر تحديث في"
14+
msgid "By"
15+
msgstr "بواسطة"
16+
17+
msgid "Contents"
18+
msgstr "محتويات"
19+
20+
msgid "Copyright"
21+
msgstr "حقوق النشر"
22+
23+
msgid "Download notebook file"
24+
msgstr "تنزيل ملف دفتر الملاحظات"
25+
26+
msgid "Download source file"
27+
msgstr "تنزيل ملف المصدر"
28+
29+
msgid "Download this page"
30+
msgstr "قم بتنزيل هذه الصفحة"
1631

1732
msgid "Edit this page"
1833
msgstr "قم بتحرير هذه الصفحة"
1934

35+
msgid "Fullscreen mode"
36+
msgstr "وضع ملء الشاشة"
37+
38+
msgid "Last updated on"
39+
msgstr "آخر تحديث في"
40+
2041
msgid "Launch"
2142
msgstr "إطلاق"
2243

44+
msgid "Open an issue"
45+
msgstr "افتح قضية"
46+
2347
msgid "Print to PDF"
2448
msgstr "طباعة إلى PDF"
2549

26-
msgid "open issue"
27-
msgstr "قضية مفتوحة"
28-
29-
msgid "Download notebook file"
30-
msgstr "تنزيل ملف دفتر الملاحظات"
31-
32-
msgid "Toggle navigation"
33-
msgstr "تبديل التنقل"
34-
3550
msgid "Source repository"
3651
msgstr "مستودع المصدر"
3752

38-
msgid "By the"
39-
msgstr "بواسطة"
40-
41-
msgid "next page"
42-
msgstr "الصفحة التالية"
43-
44-
msgid "repository"
45-
msgstr "مخزن"
46-
4753
msgid "Sphinx Book Theme"
4854
msgstr "موضوع كتاب أبو الهول"
4955

50-
msgid "Download source file"
51-
msgstr "تنزيل ملف المصدر"
52-
53-
msgid "Contents"
54-
msgstr "محتويات"
55-
56-
msgid "By"
57-
msgstr "بواسطة"
56+
msgid "Theme by the"
57+
msgstr "موضوع بواسطة"
5858

59-
msgid "Copyright"
60-
msgstr "حقوق النشر"
59+
msgid "Toggle navigation"
60+
msgstr "تبديل التنقل"
6161

62-
msgid "Fullscreen mode"
63-
msgstr "وضع ملء الشاشة"
62+
msgid "next page"
63+
msgstr "الصفحة التالية"
6464

65-
msgid "Open an issue"
66-
msgstr "افتح قضية"
65+
msgid "open issue"
66+
msgstr "قضية مفتوحة"
6767

6868
msgid "previous page"
6969
msgstr "الصفحة السابقة"
7070

71-
msgid "Download this page"
72-
msgstr "قم بتنزيل هذه الصفحة"
71+
msgid "repository"
72+
msgstr "مخزن"
7373

74-
msgid "Theme by the"
75-
msgstr "موضوع بواسطة"
74+
msgid "suggest edit"
75+
msgstr "أقترح تحرير"

docs/_static/locales/bg/LC_MESSAGES/booktheme.po

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,68 @@ msgstr ""
88
"Language: bg\n"
99
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1010

11-
msgid "suggest edit"
12-
msgstr "предложи редактиране"
11+
msgid "By the"
12+
msgstr "По"
1313

14-
msgid "Last updated on"
15-
msgstr "Последна актуализация на"
14+
msgid "By"
15+
msgstr "От"
16+
17+
msgid "Contents"
18+
msgstr "Съдържание"
19+
20+
msgid "Copyright"
21+
msgstr "Авторско право"
22+
23+
msgid "Download notebook file"
24+
msgstr "Изтеглете файла на бележника"
25+
26+
msgid "Download source file"
27+
msgstr "Изтеглете изходния файл"
28+
29+
msgid "Download this page"
30+
msgstr "Изтеглете тази страница"
1631

1732
msgid "Edit this page"
1833
msgstr "Редактирайте тази страница"
1934

35+
msgid "Fullscreen mode"
36+
msgstr "Режим на цял екран"
37+
38+
msgid "Last updated on"
39+
msgstr "Последна актуализация на"
40+
2041
msgid "Launch"
2142
msgstr "Стартиране"
2243

44+
msgid "Open an issue"
45+
msgstr "Отворете проблем"
46+
2347
msgid "Print to PDF"
2448
msgstr "Печат в PDF"
2549

26-
msgid "open issue"
27-
msgstr "отворен брой"
28-
29-
msgid "Download notebook file"
30-
msgstr "Изтеглете файла на бележника"
31-
32-
msgid "Toggle navigation"
33-
msgstr "Превключване на навигацията"
34-
3550
msgid "Source repository"
3651
msgstr "Хранилище на източника"
3752

38-
msgid "By the"
39-
msgstr "По"
40-
41-
msgid "next page"
42-
msgstr "Следваща страница"
43-
44-
msgid "repository"
45-
msgstr "хранилище"
46-
4753
msgid "Sphinx Book Theme"
4854
msgstr "Тема на книгата Sphinx"
4955

50-
msgid "Download source file"
51-
msgstr "Изтеглете изходния файл"
52-
53-
msgid "Contents"
54-
msgstr "Съдържание"
55-
56-
msgid "By"
57-
msgstr "От"
56+
msgid "Theme by the"
57+
msgstr "Тема от"
5858

59-
msgid "Copyright"
60-
msgstr "Авторско право"
59+
msgid "Toggle navigation"
60+
msgstr "Превключване на навигацията"
6161

62-
msgid "Fullscreen mode"
63-
msgstr "Режим на цял екран"
62+
msgid "next page"
63+
msgstr "Следваща страница"
6464

65-
msgid "Open an issue"
66-
msgstr "Отворете проблем"
65+
msgid "open issue"
66+
msgstr "отворен брой"
6767

6868
msgid "previous page"
6969
msgstr "предишна страница"
7070

71-
msgid "Download this page"
72-
msgstr "Изтеглете тази страница"
71+
msgid "repository"
72+
msgstr "хранилище"
7373

74-
msgid "Theme by the"
75-
msgstr "Тема от"
74+
msgid "suggest edit"
75+
msgstr "предложи редактиране"

0 commit comments

Comments
 (0)