Skip to content

Releases: intel/llvm

DPC++ daily 2021-12-28

28 Dec 19:06
f34ba2c
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211228

[ESIMD] Add infra to support half, bfloat, etc, support sycl::half. (…

DPC++ daily 2021-12-27

27 Dec 22:45
f659946
Compare
Choose a tag to compare
Pre-release
[SYCL][NFC] Optimize getKernelNamesUsingAssert (#5196)

Now it traverses reversed call graph by BFS algorithm from
__devicelib_assert_fail function up to SPIR kernels.

DPC++ daily 2021-12-25

25 Dec 19:30
ec97c57
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211225

[SYCL][CUDA][MATRIX] Remove `using namespace experimental` from heade…

DPC++ daily 2021-12-24

24 Dec 18:55
a55a713
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211224

[BuildBot] Sync testlist.cfg with latest sycl-cts repo (#5201)

DPC++ daily 2021-12-23

23 Dec 19:04
dc9bd3f
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211223

[SPIR-V] Translate complex nested vector expressions instead of lower…

DPC++ daily 2021-12-22

22 Dec 19:29
a068b15
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211222

[SYCL][XPTI] Report memory allocation info from SYCL runtime (#5172)

DPC++ daily 2021-12-21

21 Dec 19:28
8c5b701
Compare
Choose a tag to compare
Pre-release
[SYCL][NFC] Fix static code analysis concerns (#5189)

Found via a static-analysis tool:
Suspicious dereference of pointer in function call before NULL check

Inside checkAllowedSYCLInitializer() in SemaSYCL.cpp file:

    const Expr *Init = VD->getInit();
    bool ValueDependent = Init->isValueDependent(); --> 'Init' is dereferenced by being passed as argument 0 to function "isValueDependent
    bool isConstantInit =
       Init && !ValueDependent && Init->isConstantInitializer(Context, false);  --> 'Init' is checked for NULL here

This patch adds NULL value checking for 'Init' expression.

Signed-off-by: Soumi Manna <soumi.manna@intel.com>

DPC++ daily 2021-12-20

20 Dec 18:58
2c7573d
Compare
Choose a tag to compare
Pre-release
[CI] Add cache checkout script to docker containers (#5184)

Add a new cache checkout script to docker containers. General idea is to keep a local copy of repository and re-use existing objects to avoid long clone times.

Also add zstd to experiment with LLVM compression times and psutil, which is required to kill tests by timeout.

DPC++ daily 2021-12-19

19 Dec 19:03
1f3f9b9
Compare
Choose a tag to compare
Pre-release
sycl-nightly/20211219

[SYCL] Widen (u)int8/16 to (u)int32 and half to float in group_broadc…

DPC++ daily 2021-12-18

18 Dec 18:51
cc0d67f
Compare
Choose a tag to compare
Pre-release
[LIBCLC] Fix NaN value for doubles (#5173)

A NaN is a floating point value with all exponent bits set to 1 and any
non-zero fraction, and the sign bit can be set or not.

For doubles the floating point is represented as one sign bit, eleven
exponent bits, and the fraction bits, so the value before this patch
breaks down as follows:

```
0x7ff0000000000000

0b0111111111110000000000000000000000000000000000000000000000000000

0b0 11111111111 0000000000000000000000000000000000000000000000000000
```

As you can see this value has all zeroes in the exponent, it is
therefore not a NaN.

Comparing to the value used for single precision, knowing that single
precision follows the same rule but has only 8 bits of exponent:

```
0x7fc00000

0b01111111110000000000000000000000

0b0 11111111 10000000000000000000000
```

As you can see the value used for single precision has all exponent bits
set to one and the most significant bit of the fraction set to one,
therefore it is indeed a NaN.

And so the correct value for the NaN constant for doubles is actually:

```
0b0 11111111111 1000000000000000000000000000000000000000000000000000

0b0111111111111000000000000000000000000000000000000000000000000000

0x7ff8000000000000
```

Which is what this patch is updating the constant to be.

The constant for half precision also correctly follows this pattern.

This fixes the `llvm-test-suite` `nan.cpp` test with the CUDA plugin.