Skip to content

Commit 76c8207

Browse files
turinevgenymdtoguchi
authored andcommitted
[SYCL][ESIMD] Deprecate ESIMD Emulator (intel#10506)
1 parent a45c717 commit 76c8207

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

buildbot/configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def main():
238238
parser.add_argument("--hip-platform", type=str, choices=['AMD', 'NVIDIA'], default='AMD', help="choose hardware platform for HIP backend")
239239
parser.add_argument("--host-target", default='X86',
240240
help="host LLVM target architecture, defaults to X86, multiple targets may be provided as a semi-colon separated string")
241-
parser.add_argument("--enable-esimd-emulator", action='store_true', help="build with ESIMD emulation support")
241+
parser.add_argument("--enable-esimd-emulator", action='store_true', help="build with ESIMD emulation support (deprecated)")
242242
parser.add_argument("--enable-all-llvm-targets", action='store_true', help="build compiler with all supported targets, it doesn't change runtime build")
243243
parser.add_argument("--no-assertions", action='store_true', help="build without assertions")
244244
parser.add_argument("--docs", action='store_true', help="build Doxygen documentation")

sycl/doc/EnvironmentVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The value of this environment variable is a comma separated list of filters, whe
106106
- `opencl`
107107
- `cuda`
108108
- `hip`
109-
- `esimd_emulator`
109+
- `esimd_emulator` (Deprecated)
110110
- `*`
111111

112112
Possible values of `device_type` are:

sycl/doc/extensions/supported/sycl_ext_intel_esimd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Please see the additional resources on the Intel DPC++ project's github:
1717

1818
1) [ESIMD Extension Specification](./sycl_ext_intel_esimd.md)
1919
1) [ESIMD API/doxygen reference](https://intel.github.io/llvm-docs/doxygen/group__sycl__esimd.html)
20-
1) [ESIMD Emulator](./sycl_ext_intel_esimd_emulator.md)
20+
1) [ESIMD Emulator](./sycl_ext_intel_esimd_emulator.md) (deprecated)
2121
1) [Examples](./examples/README.md)
2222
1) [ESIMD end-to-end LIT tests](https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/ESIMD/)
2323
1) [Implementation and API Restrictions](./sycl_ext_intel_esimd.md#implementation-restrictions)

sycl/doc/extensions/supported/sycl_ext_intel_esimd/sycl_ext_intel_esimd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
## Other content:
3939
* [ESIMD API/doxygen reference](https://intel.github.io/llvm-docs/doxygen/group__sycl__esimd.html)
40-
* [ESIMD Emulator](./sycl_ext_intel_esimd_emulator.md)
40+
* [ESIMD Emulator](./sycl_ext_intel_esimd_emulator.md) (deprecated)
4141
* [Examples](./examples/README.md)
4242
* [ESIMD LIT tests - working code examples](https://github.com/intel/llvm/blob/sycl/sycl/test-e2e/ESIMD/)
4343

sycl/doc/extensions/supported/sycl_ext_intel_esimd/sycl_ext_intel_esimd_emulator.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ESIMD kernel execution emulation on host.
22

3+
## Deprecation note
4+
5+
ESIMD Emulator feature is deprecated and will be removed in the future.
6+
37
## Introduction
48

59
ESIMD implementation provides a feature to execute ESIMD kernels on the host

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,6 +2226,10 @@ pi_result piPluginInit(pi_plugin *PluginInit) {
22262226
return PI_ERROR_INVALID_VALUE;
22272227
}
22282228

2229+
std::cout
2230+
<< "WARNING: The ESIMD Emulator is deprecated and will be removed in the "
2231+
"future.\n";
2232+
22292233
// Check that the major version matches in PiVersion and SupportedVersion
22302234
_PI_PLUGIN_VERSION_CHECK(PluginInit->PiVersion, SupportedVersion);
22312235

0 commit comments

Comments
 (0)