Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

Before this PR it could only be enabled by explicitly defining a macro, now it's on by default in preview. We plan on keeping the macro to allow using old implementation until the first minor release after the next major one.

Before this PR it could only be enabled by explicitly defining a macro,
now it's on by default in preview. We plan on keeping the macro to allow
using old implementation until the first minor release after the next
major one.
// CHECK-NEXT: [[TMP0:%.*]] = load i16, ptr addrspace(4) [[INP]], align 2, !tbaa [[TBAA11]], !noalias [[META25]]
// CHECK-NEXT: [[CALL_I_I_I_I:%.*]] = tail call spir_func noundef i32 @__imf_bfloat162int_rn(i16 noundef zeroext [[TMP0]]) #[[ATTR4]], !noalias [[META25]]
// CHECK-NEXT: store i32 [[CALL_I_I_I_I]], ptr addrspace(4) [[AGG_RESULT]], align 4, !alias.scope [[META25]]
// CHECK-NEXT: [[RESULT_I:%.*]] = alloca %"class.sycl::_V1::vec.108", align 4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering about why's the device code generated with the new implementation much bigger than the older one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed this one, will look.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a fix, will upload it once this is merged (so that the change would be visible in the tests).

@uditagarwal97 uditagarwal97 merged commit 34c6e0d into intel:sycl Apr 29, 2025
45 of 48 checks passed
@aelovikov-intel aelovikov-intel deleted the new-vec-in-preview branch April 29, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants