Skip to content

Commit 69388f0

Browse files
committed
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of https://github.com/lbushi25/llvm into free_funtion_kernel_work_group_memory_parameter
2 parents 9bab966 + bff19f4 commit 69388f0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

clang/test/SemaSYCL/Inputs/sycl/ext/oneapi/experimental/work_group_memory_forward_decl.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#pragma once
2-
#include <sycl/ext/oneapi/properties/properties.hpp>
2+
// Dummy header file for the purpose of SemaSYCL testing.
3+
// It shadows the file
4+
// sycl/include/sycl/ext/oneapi/experimental/work_group_memory_forward_decl.hpp
35
namespace sycl {
46
inline namespace _V1 {
57
namespace ext {
68
namespace oneapi {
79
namespace experimental {
8-
template <typename DataT, typename PropertiesT = empty_properties_t>
10+
template <typename DataT, typename PropertiesT = int>
911
class work_group_memory;
1012
} // namespace experimental
1113
} // namespace oneapi

sycl/test-e2e/WorkGroupMemory/free_function_kernel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ void test(size_t SIZE, size_t WGSIZE, bool UseHelper) {
5858
}
5959

6060
// The following ifndef is required due to a number of limitations of free
61-
// function kernels
61+
// function kernels. See CMPLRLLVM-61498.
6262
// TODO: Remove it once these limitations are no longer there.
6363
#ifndef __SYCL_DEVICE_ONLY__
6464

@@ -79,7 +79,7 @@ void test(size_t SIZE, size_t WGSIZE, bool UseHelper) {
7979
}
8080

8181
int main() {
82-
constexpr size_t SIZE = 1024;
82+
constexpr size_t SIZE = 512;
8383
test(SIZE, SIZE, true /* UseHelper */);
8484
test(SIZE, SIZE, false);
8585
// Test with more than one work group

0 commit comments

Comments
 (0)