Skip to content
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

Commit to prepare for merging CI with develop #1

Open
wants to merge 85 commits into
base: cuda-11.0
Choose a base branch
from

Conversation

vlkale
Copy link

@vlkale vlkale commented Jun 17, 2024

This prepares a merge commit Kokkos Tools PR kokkos#212 into the develop branch of Kokkos Tools. This is for the CUDA-11.0 branch authored by @uliegecsm.

vlkale and others added 30 commits September 13, 2023 14:41
Putting in tool_invoked_fence code.
Fixing  tool induced fences to always fence on device with DevID 0. 

Fencing with DevID will be a done in subsequent patch (where Pair object will be used in the hash table to capture the begin sample's information. 

Note that the pair/tuple object can capture other state information to store between the beginning of sampling event and ending of it.
for infokIDSample efficiency in space
kp_sampler_skip.cpp: erase for efficiency of unordered map
Passing devID to invoke_ktools_febce() instead of 0 is in a separate PR. Checking fence is done only on devID hasn't been tested in this PR and isn't directly related to this PR.
* :Use eventset for roctxconnector

* Improvements thanks to review.
type: renaming `Kokkos_Tools_OptimizationGoal`
papi(bug): use `kp_add_library` to ensure it is installed
Don't disable clang-format in kp_json_writer.cpp
Use different GitHub action for indentation check
cleaning(simple-kernel-timer): promote `find_index` to `kp_shared.hpp`
* Add header/legend line to kp_reader

describing what each column means

* formatting

* Add a space to header, matching region/kernel lines
vlkale and others added 11 commits May 23, 2024 13:42
This PR introduces probabilistic sampling into kokkos_sampler, enabling the avoidance of bias in the sampled operations.
Two new options are introduced: KOKKOS_TOOLS_SAMPLER_PROB and KOKKOS_TOOLS_RANDOM_SEED which set the rate and a random seed respectively. 
The PR also introduces tests.
Don't link against kokkostools in tests unconditionally
kp_space_time_stack.cpp: do null pointer check of ptr at the beginning of alloc and dealloc functions
Check for de/allocations pointing to null
Fix finding Variorum via environment variable
/__w/kokkos-tools/kokkos-tools/profiling/perfetto-connector/perfetto/perfetto.h:7153:35: error: 'BUILTIN_CLOCK_UNKNOWN' was not declared in this scope
 7153 |   BuiltinClock primary_trace_clock_{};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants