-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][Driver] Support bfloat16 devicelib selection when multiple AOT…
… targets specified (#16494) User can specify multiple AOT targets when building sycl program in followings ways: 1). via -fsycl-targets=intel_gpu_pvc,intel_gpu_acm_g10,.... 2). via -fsycl-targets=spir64_gen ... -Xs "-device pvc,dg2...." 3). via -fsycl-targets=spir64_gen..., -Xsycl-target-backend=spir64_gen "-device pvc" We should select native bfloat16 devicelib when all AOT targets specified support native bfloat16 conversion. Currently, pvc, dg2, bmg devices support native bfloat16. If user specifies JIT target together with AOT targets which all support native bfloat16 conversion, we still select native bfloat16 devicelib since bfloat16 devicelib is skipped in linking step for JIT target. --------- Signed-off-by: jinge90 <[email protected]> Co-authored-by: Michael Toguchi <[email protected]>
- Loading branch information
Showing
2 changed files
with
173 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters