mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-05 06:01:23 +00:00
This pull requests adds some initial "factory tests" - these check that the instances which are used in MIOpen are actually present in CK. The main reason for this is documentation and sanity checking. Its likely that these tests get outdated fast, so we'll have to maintain them, but fortunately this is quite straight forward and shouldn't take a lot of time once they are in place.
11 lines
352 B
Bash
Executable File
11 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright © Advanced Micro Devices, Inc., or its affiliates.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
for file in $(git diff --cached --name-only --diff-filter=ACM | grep -E '\.(cpp|hpp|txt|inc)$'); do
|
|
if [ -x "$file" ]; then
|
|
chmod -x "$file"
|
|
echo "[remove-exec-bit] Removed executable bit from $file" >&2
|
|
fi
|
|
done
|