Skip to content

Conversation

@jinge90
Copy link
Contributor

@jinge90 jinge90 commented Sep 2, 2025

PTL also supports native bfloat16 conversions, we need to link native bfloat16 devicelib for AOT compilation for this target.

@jinge90 jinge90 requested a review from a team as a code owner September 2, 2025 03:18
@jinge90 jinge90 requested a review from bashbaug September 2, 2025 03:20
@jinge90
Copy link
Contributor Author

jinge90 commented Sep 2, 2025

Hi, @bashbaug
We link native bfloat16 devicelib for ptl target since 'bfloat16 native conversion' is supported by this target.
Thanks very much.

// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_lnl_m,spir64_gen \
// RUN: --sysroot=%S/Inputs/SYCL -Xsycl-target-backend=spir64_gen "-device ptl_h" \
// RUN: %s -### 2>&1 | FileCheck %s -check-prefix=BFLOAT16-NATIVE-NATIVE
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_lnl_m,spir64_gen \
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these supported in clang_cl mode?
If yes, please add test cases for the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, @srividya-sundaram
Yes, these tests should work with clang_cl mode.
Thanks very much.

@jinge90 jinge90 requested a review from a team September 4, 2025 05:47
@jinge90
Copy link
Contributor Author

jinge90 commented Sep 4, 2025

Hi, @intel/llvm-gatekeepers
Could you help merge this PR?
Thanks very much.

@steffenlarsen steffenlarsen merged commit 5da31d4 into intel:sycl Sep 4, 2025
27 checks passed
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.

3 participants