Skip to content

Commit e48a7ad

Browse files
authored
Applied the same fix for transform_iterator.cpp addressed in ONSAM-1375. (oneapi-src#453)
* updated the simplied version of the accessors, used auto for parallel_for index * using vector.size() instead of the global variables as per the comments * fixed the typo. Also check the output vector size * Updated Readme to add the include files path for dpc_common.hpp Updated the cpp file with the comments on dev_utilities folder * Updated the Jupyter notebooks as per the beta10 guidelines <[email protected]> * removed sample.json as these are jupyter notebooks <[email protected]> * removed some checkpoint files that are not necessary <[email protected]> * removed unwanted files <[email protected]> * removed unwanted checkpoint files <[email protected]> * Signed-off-by: praveenkk123 <[email protected]> Updated the notebooks with beta10 changes. fixed namespace * Signed-off-by: praveenkk123 <[email protected]> Updated README.md file * Updated windows VS project file. Add "/Od" as the linker option. Signed-off-by: praveenkk123 <[email protected]> * Updated Jupyter notebooks and deploying the CI/CD process for the samples in the notebook * Updated Readme files * fixed the code to address the bug raised in ONSAM-1375 * Applied the same fix for transform_iterator.cpp addressed in ONSAM-1375. Relpaced include algorithm with include numeric * Fixed the issue for maximum and minimum functions
1 parent 219d37c commit e48a7ad

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/lab/maximum_function.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
//
44
// SPDX-License-Identifier: MIT
55
// =============================================================
6+
#include <oneapi/dpl/numeric>
67
#include <oneapi/dpl/algorithm>
8+
#include <oneapi/dpl/functional>
79
#include <oneapi/dpl/execution>
810
#include <oneapi/dpl/iterator>
911

DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/lab/minimum_function.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
//
44
// SPDX-License-Identifier: MIT
55
// =============================================================
6+
#include <oneapi/dpl/numeric>
67
#include <oneapi/dpl/algorithm>
8+
#include <oneapi/dpl/functional>
79
#include <oneapi/dpl/execution>
810
#include <oneapi/dpl/iterator>
911

DirectProgramming/DPC++/Jupyter/oneapi-essentials-training/07_DPCPP_Library/lab/transform_iterator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// SPDX-License-Identifier: MIT
55
// =============================================================
6-
#include <oneapi/dpl/algorithm>
6+
#include <oneapi/dpl/numeric>
77
#include <oneapi/dpl/execution>
88
#include <oneapi/dpl/iterator>
99

0 commit comments

Comments
 (0)