-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sycl' into e2e-split-ci
- Loading branch information
Showing
59 changed files
with
482 additions
and
180 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// RUN: %clang_cc1 -fsycl-is-device -ast-dump %s | FileCheck %s | ||
// | ||
// Checks that the compound statement of the implicitly generated kernel body | ||
// has a valid source location (containing "line"). Previously this location | ||
// was invalid containing "<<invalid sloc>>" which causes asserts in the | ||
// llvm profiling tools. | ||
|
||
#include "Inputs/sycl.hpp" | ||
|
||
struct Functor { | ||
void operator()() const {} | ||
}; | ||
|
||
// CHECK: FunctionDecl {{.*}} _ZTS7Functor 'void ()' | ||
// CHECK-NEXT: |-CompoundStmt {{.*}} <{{.*}}line{{.*}}> | ||
|
||
int main() { | ||
|
||
sycl::queue().submit([&](sycl::handler &cgh) { | ||
cgh.single_task(Functor{}); | ||
}); | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; This test verifies that we propagate the ESIMD attribute to a function that | ||
; doesn't call any ESIMD-attribute functions but calls an ESIMD intrinsic | ||
|
||
; RUN: opt -passes=lower-esimd-kernel-attrs -S < %s | FileCheck %s | ||
|
||
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64" | ||
target triple = "spir64-unknown-unknown" | ||
|
||
; CHECK: define dso_local spir_func void @FUNC() !sycl_explicit_simd | ||
define dso_local spir_func void @FUNC() { | ||
%a_1 = alloca <16 x float> | ||
%1 = load <16 x float>, ptr %a_1 | ||
%ret_val = call spir_func <8 x float> @_Z16__esimd_rdregionIfLi16ELi8ELi0ELi8ELi1ELi0EEN2cm3gen13__vector_typeIT_XT1_EE4typeENS2_IS3_XT0_EE4typeEt(<16 x float> %1, i16 zeroext 0) | ||
ret void | ||
} | ||
|
||
declare dso_local spir_func <8 x float> @_Z16__esimd_rdregionIfLi16ELi8ELi0ELi8ELi1ELi0EEN2cm3gen13__vector_typeIT_XT1_EE4typeENS2_IS3_XT0_EE4typeEt(<16 x float> %0, i16 zeroext %1) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# commit 0a90db9b2c36960c9b28ce18557ca15760724c4d | ||
# Merge: c4d9fdb4 6e0bdeb9 | ||
# commit eb076da108a49ef1426f38690547a71905f58015 | ||
# Merge: d8d8ee90 46832dfd | ||
# Author: Callum Fare <[email protected]> | ||
# Date: Wed Nov 27 12:16:44 2024 +0000 | ||
# Merge pull request #2369 from Bensuo/ben/kernel-binary-update-l0 | ||
# [CMDBUF] Implement kernel binary update for L0 adapter | ||
set(UNIFIED_RUNTIME_TAG 0a90db9b2c36960c9b28ce18557ca15760724c4d) | ||
# Date: Fri Nov 29 15:54:31 2024 +0000 | ||
# Merge pull request #2396 from kswiecicki/init-results-fix | ||
# [L0] Add nullopt check before init results access | ||
set(UNIFIED_RUNTIME_TAG eb076da108a49ef1426f38690547a71905f58015) |
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
Oops, something went wrong.