-
Notifications
You must be signed in to change notification settings - Fork 16
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
Integration branch SixTrackLib 0.7.0 #137
Open
martinschwinzerl
wants to merge
80
commits into
SixTrack:master
Choose a base branch
from
martinschwinzerl:feature/pr137_sixtracklib_070
base: master
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
Integration branch SixTrackLib 0.7.0 #137
martinschwinzerl
wants to merge
80
commits into
SixTrack:master
from
martinschwinzerl:feature/pr137_sixtracklib_070
Conversation
This file contains 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
Due to a search & replace error, 'sixtrack::(anonymous)::st_size_t` is defined as an alias to `::st_size_t` which is not necessarily the same size as `unsigned long long`. This seems to cause the problems described in SixTrack#133
NOTE: cmake 3.11 introduces the FetchContent extension which is much better suited than the currently used ExternalProject facility (or manually downloading stuff via git)
- uses FetchContent to download OpenCL C headers, OpenCL C++ headers or the OpenCL icd loader if needed - Adapts to the new OpenCL 3.x header structure
…nto feature/pr137_sixtracklib_070
…inzerl/sixtracklib into feature/pr137_sixtracklib_070
- Deprecate the "use legacy c++ header" -> this is now discovery based, the user should not have to use this setting. It is kept for the sake of compability
- simplifies the the detection of the headers in case they are downloaded -> this no longer yields random results depending on the order but always a predictible outcome, sorted by most desireable headers first - supports the "always downloads headers" option from Settings.cmake - verifies that the OpenCL ICD loaded can successfully be built
- Fixes copy & paste error in 10th and 11th factorial switch-case statement - Removes recursion which does not work ootb on OpenCL 1.2
- removes recursive limitations -> this fixes issues on OpenCL - provide a "binary" like implementation with minimal temporary / local storage requirements optimised for GPUs
…2011 based algorithm
- adds helper functions for 1D grids to get global and local ids and sizes - adds searching for largest elements in a (shared memory) array bound to wavefront / warps
- Decrease SIXTRL_CERRF_ALG680_MIN_POW_2H_N to 2.22507385850720e-307 which is one order of magnitude above the smallest possible 64 Bit double precision number. This reduces the chance of hitting the limit close to the boundaries between the compute regions - consequently, the SIXTRL_CERRF_ALG680_MIN_TWO_H_VALUE has to be decreased to allow for SIXTRL_CERRF_ALG680_MIN_TWO_H_VALUE ^ ( N_S0 + N_S1 ) to still be >= than SIXTRL_CERRF_ALG680_MIN_POW_2H_N
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.
Features / Main Improvements:
example/cxx/track_fodo_opencl_cxx
andexample/cxx/track_fodo_cuda_cxx
to allow easier comparison of tracking performance with simpletrackNote:
The minimum required CMake version has been bumped to version 3.11. This is due to the use of the 'FetchContent` feature to streamline the retrieval of external dependencies.