Skip to content

Commit 10fca20

Browse files
authored
Merge pull request #86 from rafbiels/tsne-property-init
[tsne][SYCL] Use property_list instead of property value
2 parents 4605b2c + 19f7b40 commit 10fca20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsne/SYCL/src/kernels/perplexity_search.dp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ void tsnecuda::SearchPerplexity(
254254
// Check if searching is done
255255
myQueue.parallel_for(
256256
sycl::nd_range<1>{NUM_WGS2 * WG_SIZE2, WG_SIZE2}, std::move(e4),
257-
sycl::reduction(all_found, sycl::plus<int>(), sycl::property::reduction::initialize_to_identity{}),
257+
sycl::reduction(all_found, sycl::plus<int>(), {sycl::property::reduction::initialize_to_identity{}}),
258258
[=](sycl::nd_item<1> item, auto& sum) {
259259
int i = item.get_global_id(0);
260260
if (i >= num_points) return;

0 commit comments

Comments
 (0)