Skip to content

Releases: intel/llvm

DPC++ daily 2021-10-16

16 Oct 17:50
a642340
Compare
Choose a tag to compare
Pre-release
[sycl-post-link][NFC] Various small refactorings (#4731)

- Replaced `static` functions and variables with usage of anonymous namespace.
- Renamed some functions.
- Applied clang-format to most of the `sycl-post-link.cpp` file.
- Removed some unnecessary includes, added some which were missing (like `<vector>`).
- Added `const` qualifier almost everywhere.
- Updated _some_ comments to use "entry point" instead of "kernel".
  Full replace requires renaming corresponding command line options,
  which should be done in sync with the driver - I would prefer to do so
  in a separate commit.

DPC++ daily 2021-10-15

15 Oct 17:53
30acaff
Compare
Choose a tag to compare
Pre-release
Renaming esimd emu from esimd cpu (#4728)

[SYCL][ESIMD][EMU] Renaming ESIMD_CPU to ESIMD_EMU
* Directory rename
* File rename
Co-authored-by: kbobrovs <Konstantin.S.Bobrovsky@intel.com>

DPC++ daily 2021-10-14

14 Oct 18:02
97d33b7
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211014

[SYCL] Enable querying kernel's number of registers (#4665)

DPC++ daily 2021-10-13

13 Oct 17:56
f8014f5
Compare
Choose a tag to compare
Pre-release
[SYCL] Disable fallback assert for interop kernels (#4712)

Signed-off-by: Sergey Kanaev <sergey.kanaev@intel.com>

DPC++ daily 2021-10-12

12 Oct 17:51
810d67a
Compare
Choose a tag to compare
Pre-release
[SYCL] Use device code cache when building kernel bundles (#4724)

The persistent device code cache, when enabled, is not used when
building the underlying native program in a kernel bundle. These changes
unify cache lookup with a fallback to program creation from
ProgramManager::getBuiltPIProgram with the program creation in
ProgramManager::build, ensuring that the latter also uses cached device
code. Likewise, ProgramManager::build will write the device code to the
persistent cache if it was not there already.

Signed-off-by: Steffen Larsen <steffen.larsen@intel.com>

DPC++ daily 2021-10-11

11 Oct 17:48
e5cc9b7
Compare
Choose a tag to compare
Pre-release
[ESIMD] Refactor esimd intrinsic mapping to BE intrinsics. (#4720)

* [ESIMD] Refactor esimd intrinsic mapping to BE intrinsics.

This patch
- makes names and parameter lists of __esimd* intrinsics match their
  @llvm.genx counterparts. The benefits are:
  * this removes the extra logical translation layer between __esimd* and
    @llvm.genx thus simplifying overall user-level esimd intrinsic translation
  * allows to reuse lots of functionality between SLM and surface memory
    accesses
- moves some of the translations and argument setting (like accessor field to
  surface index, setting scale) from LowerESIMD.cpp to the ESIMD headers, which
  simplifies code base.
- for all memory intrinsics moves host and device implementations to the same
  intrinsic function prototype separating them via __SYCL_DEVICE_ONLY__ macro
  thus avoiding duplication of the prototypes
- removes certain redundant __esimd* intrinsics, such as SLM memory accesses
  (which are normal surface accesses with special surface index 254), and
  __esimd_reduced_fmax,... which have the same functionality as usual fmax,...

This is also a preparatory step for fixing SLM memory accesses (revising vector
lengths, element types restirictions)

Signed-off-by: Konstantin S Bobrovsky <konstantin.s.bobrovsky@intel.com>

DPC++ daily 2021-10-10

11 Oct 07:00
a618e1a
Compare
Choose a tag to compare
Pre-release
[ESIMD] Fix build error showed with disabled asserts (#4733)

Surprisingly Instruction->getNameOrAsOperand() is not defined when
asserts are disabled. Replaced that method usage with getName() method.

Signed-off-by: Vyacheslav N Klochkov <vyacheslav.n.klochkov@intel.com>

DPC++ daily 2021-10-08

08 Oct 17:50
bbafe08
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211008

[SYCL] Remove SYCL 1.2.1-style OpenCL interop APIs (#4480)

DPC++ daily 2021-10-07

07 Oct 17:32
8d979f0
Compare
Choose a tag to compare
Pre-release
[SYCL] Detect changes in sycl headers (#4723)

This is follow up for #4710

When a sub-directory of the DEPENDS directories is modified the change is not
detected by CMake. The change adds a full list of files in the sub-directory to
DEPENDS to detect the change. file(GLOBE_RECURSE) is used with
CONFIGURE_DEPENDS option to rerun configure step if a new entry is added to
the directory structure.
Restore version.hpp in source directory as it is used to build SYCL
library.

Removing a header file is the only case when change is not propagated to
the build and install directory. This problem existed before the change and
TODO was left to fix it in the future.

DPC++ daily 2021-10-06

06 Oct 17:35
f844f70
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211006

[CODEOWNERS] Add Soumi to help with FE reviews (#4714)