Skip to content

ONSAM-1419 - fixed sample still using deprecated namespace sycl::ONEAPI #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Nov 2, 2021
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
25fb856
Adding mandelbrot sample to the repository
vmadananth Jul 8, 2020
a71bd0f
merging samples
vmadananth Aug 17, 2020
d0fe654
Adding changes to mandelbrot to remove libsycl-complex.so dependency
vmadananth Aug 17, 2020
c6cb954
Merge branch 'master' of https://github.com/oneapi-src/oneAPI-samples
vmadananth Oct 1, 2020
ecafff4
namespace change for Monte Carlo
vmadananth Oct 2, 2020
84cfcbf
Updated samples to newest coding guidelines
vmadananth Oct 2, 2020
ba55cda
Updating samples- Mandelbrot, DCT and MonteCarlo with newest coding g…
vmadananth Oct 2, 2020
fb510c9
Merge branch 'master' of https://github.com/oneapi-src/oneAPI-samples
vmadananth Oct 28, 2020
36f6a03
Fixing warnings for DCT
vmadananth Oct 28, 2020
d0b2526
Merge branch 'master' of https://github.com/oneapi-src/oneAPI-samples
vmadananth Oct 29, 2020
8901fd9
Added ifdef to remove warnings
vmadananth Oct 29, 2020
ebf9c44
Merge branch 'master' of http://github.com/oneapi-src/oneAPI-samples
vmadananth Nov 18, 2020
0ec8606
Fixed issues with mandelbrot/montecarlopi in debug/release
varsha-madananth Nov 18, 2020
8e0bdb3
ONSAM-1414 Broken Link in Headers (#685)
JoeOster Sep 29, 2021
4bed52e
fix deprecation notice (#682)
ericlars Sep 29, 2021
d69a807
Merge branch 'master' of https://github.com/oneapi-src/oneAPI-samples
vmadananth Oct 29, 2021
4994c0e
Fixed warnings on using deprecated namespace sycl::ONEAPI
vmadananth Oct 29, 2021
97c7362
Merge branch 'development' of https://github.com/oneapi-src/oneAPI-sa…
vmadananth Nov 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ double MonteCarloPi(rgb image_plot[]) {

// Monte Carlo Procedure + Reduction
h.parallel_for(nd_range<1>(num_wg * size_wg, size_wg),
sycl::ONEAPI::reduction(total_acc, 0, std::plus<int>()),
ext::oneapi::reduction(total_acc, 0, std::plus<int>()),
[=](nd_item<1> it, auto& total_acc) {
// Index for accessing buffers
int i = it.get_global_id();
Expand Down