We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 457f307 commit 89eec99Copy full SHA for 89eec99
sycl/test/syclcompat/launch/launch_inlining.cpp
@@ -85,14 +85,10 @@ int test_write_mem() {
85
}
86
87
int test_lmem_launch() {
88
- using T = int;
89
- // A property constructed at runtime:
90
- sycl_intel_exp::cache_config my_cache_config{sycl_intel_exp::large_slm};
+ int local_mem_size = LOCAL_MEM_SIZE;
91
92
- int local_mem_size = LOCAL_MEM_SIZE; // rt value
93
-
94
- size_t num_elements = local_mem_size / sizeof(T);
95
- T *d_a = (T *)syclcompat::malloc(local_mem_size);
+ size_t num_elements = local_mem_size / sizeof(int);
+ int *d_a = (int *)syclcompat::malloc(local_mem_size);
96
97
compat_exp::launch_policy my_config(
98
sycl::nd_range<1>{{256}, {256}},
0 commit comments