-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable ACC timers for no ACC compilation
- Loading branch information
Showing
6 changed files
with
22 additions
and
39 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -229,4 +229,6 @@ spack-* | |
|
||
.ccls-cache/ | ||
|
||
.DS_Store | ||
.DS_Store | ||
|
||
BUILD/ |
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
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
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
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
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
a2bedce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about my pending task to provide the timer stubs in a central place, and I wonder now why we would not want the protector like
defined(__DBCSR_ACC)
? Are we ever supposed to call into the backend, i.e., collecting/contributing timer results if__DBCSR_ACC
is not defined?a2bedce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is exactly what you are mentioning. The code where we have the timers is relevant when DBCSR_ACC is used, so I don't like the idea to have protect for
defined(__DBCSR_ACC)
, which should be implicit by definition... Even more, I don't like code where we have tons ofif defined
...endif
...So, a possibility would be to add the stubs at
src/acc/libsmm_acc/libsmm_acc_init.cpp
so we have something like:What do you think?
a2bedce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completed: #593