-
Notifications
You must be signed in to change notification settings - Fork 12
Implement cg_streaming via USM #69
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
Open
breyerml
wants to merge
94
commits into
develop
Choose a base branch
from
cg_streaming_via_usm
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d improve simplicity of implementation by using a std::variant<cl_mem, T*> as device_pointer_type.
…lightly such that the backends are more similar.
…tially initializes all values to zero. Instead, use a std::unique_ptr together with a C++17 conformant make_unique_for_overwrite implementation followed by an OpenMP parallel zero initialization of all values drastically reducing the overhead.
…bly and BLAS implementation. Align names more to the ones used in the other backends.
…bly + BLAS implementation. Align names more to the ones used in the other backends.
Now: some parts of the kernels are specialized for the CPU for better performance.
…ree function to function object).
…e the HPX runtime before a call to Kokkos::initialize, otherwise the HPX specific command line options are ignored.
…re used inside another namespace.
…ode duplication. Add the possibility to filter out some command line options (mainly from third party libraries HPX and Kokkos).
…s by forwarding them to the respective initialization functions.
…tom kernels since the previous version using clEnqueueFillBuffer failed for SOME data sets on NVIDIA GPUs.
# Conflicts: # include/plssvm/backends/CUDA/csvm.hpp # include/plssvm/backends/gpu_device_ptr.hpp # include/plssvm/csvm.hpp # include/plssvm/detail/data_distribution.hpp # include/plssvm/detail/type_traits.hpp # src/plssvm/backends/OpenCL/csvm.cpp # src/plssvm/backends/OpenCL/detail/context.cpp # src/plssvm/backends/OpenCL/detail/device_ptr.cpp # src/plssvm/backends/OpenCL/detail/utility.cpp # src/plssvm/backends/OpenMP/csvm.cpp # src/plssvm/backends/stdpar/csvm.cpp # src/plssvm/detail/data_distribution.cpp # tests/backends/CUDA/detail/device_ptr.cpp # tests/backends/HIP/detail/device_ptr.hip # tests/backends/OpenCL/detail/device_ptr.cpp # tests/backends/generic_csvm_tests.hpp # tests/backends/generic_device_ptr_tests.hpp # tests/types_to_test.hpp
…r type. Note: functionality currently not implemented!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements the cg_streaming solver_type using USM.
The cg_explicit kernels are used, i.e., no special performance tuning has been performed.
The logic for the OpenCL backend had to be changed to allow multi-GPU support with OpenCL's SVM.
(instead of one context with all devices, we now create one separate context for each device)