-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIN32 -> _WIN32 * Add copyright check script based on hipCUB * Resolve "Remove `#if THRUST_CPP_DIALECT >= 2011` checks and similar." * fix transform iterator for device-only operators * add workaround for sdma oversubscription * Use THRUST_NAMESPACE_BEGIN everywhere * Remove references to and workarounds for hcc * fix warnings * review comments round 1 * review comments round 2 * fix gtest dependency * Update ROCm version in Changelog --------- Co-authored-by: Máté Ferenc Nagy-Egri <mate@streamhpc.com> Co-authored-by: Gergely Meszaros <gergely@streamhpc.com> Co-authored-by: Beatriz Navidad Vilches <beatriz@streamhpc.com> Co-authored-by: Nol Moonen <nol@streamhpc.com>
- Loading branch information
1 parent
b222e5b
commit 2b80e29
Showing
69 changed files
with
1,240 additions
and
1,526 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
cd "$(git rev-parse --git-dir)" | ||
cd hooks | ||
|
||
echo "Installing hooks..." | ||
ln -s ../../.githooks/pre-commit pre-commit | ||
echo "Done!" |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
|
||
# Redirect output to stderr. | ||
exec 1>&2 | ||
|
||
check_failed=false | ||
|
||
# Do the copyright check | ||
# update & apply copyright when hook config is set, otherwise just verify | ||
opts="-qc" | ||
if [ "$(git config --get --type bool --default false hooks.updateCopyright)" = "true" ]; then | ||
opts="-qca" | ||
fi | ||
|
||
if ! "$(git rev-parse --show-toplevel)/scripts/copyright-date/check-copyright.sh" "$opts" 1>&2; then | ||
printf "\n\033[31mFailed\033[0m: copyright date check.\n" | ||
check_failed=true | ||
fi | ||
|
||
if $check_failed; then | ||
printf " | ||
Pre-commit check failed, please fix the reported errors. | ||
Note: Use '\033[33mgit commit --no-verify\033[0m' to bypass checks.\n" | ||
exit 1 | ||
fi |
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
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
Oops, something went wrong.