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

Adding caliper annotations #213

Open
wants to merge 50 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
7b69bde
initial caliper annotations
Dec 27, 2024
478c570
adding caliper to cmake
Dec 28, 2024
69d0bdf
adding caliper import
Dec 28, 2024
3d991f2
changing lionk in cmake
Dec 28, 2024
b361d3a
changing cali enabled checks
Dec 28, 2024
d94b448
upsate cmake
Dec 28, 2024
d14d2d2
upsate cmake
Dec 28, 2024
aeb570a
moving caliper linking in cmake
Dec 28, 2024
c5a4117
changing linking again
Dec 28, 2024
a90f1aa
changing caliper link
Dec 28, 2024
3e911bc
ending cali function
Dec 28, 2024
8773347
changing to c++ annotations
Dec 30, 2024
f86e206
changing to c++ annotations
Dec 30, 2024
a65373c
adding caliSetup method
Dec 30, 2024
f0761c9
linker changes
Dec 30, 2024
8a8e45b
removed mpi check
Dec 30, 2024
bd932b8
changing cali configmgr
Dec 30, 2024
1ae448e
fix adiak link
Dec 30, 2024
422fb04
removing extra annotations
Dec 30, 2024
d5a08b7
turn on debug mode
Dec 30, 2024
02459e1
changing target name
Dec 30, 2024
1c2ea72
test
Dec 30, 2024
7ecf1a1
undoing changes
Dec 30, 2024
c9e58ae
fix
Dec 30, 2024
2715128
adding debug prints
Dec 30, 2024
2b2d8f7
more prints
Dec 30, 2024
e7cf4b5
fixing prints
Dec 30, 2024
0eb328a
adding extra definition
Dec 30, 2024
303c22d
changing setupCaliper
Dec 30, 2024
5f34ca0
fixing some caliper methods
Dec 30, 2024
ef0a28a
removing extra annotation
Dec 30, 2024
4491edd
removing print debug lines
Dec 30, 2024
91d0359
cleaning up indents
Jan 29, 2025
a299929
testing refactor
Feb 18, 2025
d9e2fc8
moving cali flush
Feb 19, 2025
6bbcb4f
moving return statements
Feb 19, 2025
ce7723b
changing return var names
Feb 19, 2025
2bace4c
updating typing
Feb 19, 2025
a2b62b0
adding instantiation
Feb 19, 2025
defb6cc
separating cases to reuse result var
Feb 19, 2025
40035ec
moving annotations
Feb 19, 2025
0381a4d
relabeling annotations
Feb 19, 2025
61a5500
relabeling annotations
Feb 19, 2025
cd3abd7
fixing typo
Feb 19, 2025
368649e
adding extra annotations
Feb 19, 2025
69202fa
fixing typo
Feb 19, 2025
7664f5f
label annotations by function
Feb 19, 2025
94bf35f
renaming array_init annotations
Feb 19, 2025
fe08548
removing trailing whitespaces
Feb 20, 2025
69dd220
removing trailing whitespaces
Feb 20, 2025
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
Prev Previous commit
Next Next commit
removing extra annotations
august-knox committed Dec 30, 2024

Unverified

No user is associated with the committer email.
commit 422fb04a031482899dac653036d283146393b557
7 changes: 0 additions & 7 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -105,8 +105,6 @@ int main(int argc, char *argv[])

cali_config_set("CALI_CALIPER_ATTRIBUTE_DEFAULT_SCOPE", "process");

adiak::value("x-size of simulation", params.simulationParams.lx);

adiak::value("BABELSTREAM version", "4.0");
adiak::value("num_times", num_times);
adiak::value("elements", ARRAY_SIZE);
@@ -502,10 +500,6 @@ void run()
sizes = {4 * sizeof(T) * ARRAY_SIZE };
}

#ifdef ENABLE_CALIPER
CALI_CXX_MARK_LOOP_BEGIN(mainloop, "mainloop");
#endif

for (int i = 0; i < timings.size(); ++i)
{
// Get min/max; ignore the first result
@@ -650,7 +644,6 @@ void check_solution(const unsigned int ntimes, std::vector<T>& a, std::vector<T>
void setupCaliper()
{
#ifdef ENABLE_CALIPER
//cali_init();


cali_config_preset("CALI_LOG_VERBOSITY", "0");