[GH-ISSUE #891] SYCL port v0.1.39 fails to compile: session.cpp ThreadAffinity type errors #388

Closed
opened 2026-11-04 01:42:34 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @asaffulks on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/891

Building the SYCL port from the v0.1.39 tag (icpx 2025.3.3, Ubuntu 26.04, target 2x Arc Pro B70) fails:

sycl/src/core/session.cpp:786:23: error: assigning to 'long long' from incompatible type 'ThreadAffinity'
sycl/src/core/session.cpp:801:55: error: reference to type 'const ThreadAffinity' could not bind to an lvalue of type 'long long'
ninja: build stopped: subcommand failed.

Looks like the port's session.cpp didn't pick up the ThreadAffinity type change from the 0.1.39 engine sources.

Originally created by @asaffulks on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/891 Building the SYCL port from the v0.1.39 tag (icpx 2025.3.3, Ubuntu 26.04, target 2x Arc Pro B70) fails: ``` sycl/src/core/session.cpp:786:23: error: assigning to 'long long' from incompatible type 'ThreadAffinity' sycl/src/core/session.cpp:801:55: error: reference to type 'const ThreadAffinity' could not bind to an lvalue of type 'long long' ninja: build stopped: subcommand failed. ``` Looks like the port's session.cpp didn't pick up the ThreadAffinity type change from the 0.1.39 engine sources.
Author
Owner

@subsevenx2001 commented on GitHub (Oct 6, 2026):

I got the same issue, it seems that there has already been a PR to fix it.
https://github.com/Niko1221/Strata/pull/809

<!-- gh-comment-id:6007558596 --> @subsevenx2001 commented on GitHub (Oct 6, 2026): I got the same issue, it seems that there has already been a PR to fix it. https://github.com/Niko1221/Strata/pull/809
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Fixed in 0.1.40.2: the SYCL port is re-ported to the 0.1.40.1 sources and builds with icpx again (0.1.40 itself did not build for Intel), and the 10-prompt check with MTP passes on an Arc A750. Closing; please reopen with the compiler version if it still fails on the new release.

<!-- gh-comment-id:6037852742 --> @Niko1221 commented on GitHub (Oct 7, 2026): Fixed in 0.1.40.2: the SYCL port is re-ported to the 0.1.40.1 sources and builds with icpx again (0.1.40 itself did not build for Intel), and the 10-prompt check with MTP passes on an Arc A750. Closing; please reopen with the compiler version if it still fails on the new release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#388
No description provided.