summaryrefslogtreecommitdiffstats
path: root/src/Features.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2021-11-16 16:35:20 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2021-11-16 17:30:16 +0100
commitd17f6102ab60863b3dead22d619a313aa277e514 (patch)
treef9d0a02fb2cba2e45d18f8c3a1b76a8bd11ee5b1 /src/Features.cpp
parente99c6a75bada269381b247c555786dda8b390b7a (diff)
downloadastra-d17f6102ab60863b3dead22d619a313aa277e514.tar.gz
astra-d17f6102ab60863b3dead22d619a313aa277e514.tar.bz2
astra-d17f6102ab60863b3dead22d619a313aa277e514.tar.xz
astra-d17f6102ab60863b3dead22d619a313aa277e514.zip
Add feature flag 'unpadded_GPULink'
This will let other toolboxes detect if ASTRA (properly) supports unpadded GPULink objects. See 6baf90217683b7bac2e87dd9fef944fab6a8a950.
Diffstat (limited to 'src/Features.cpp')
-rw-r--r--src/Features.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Features.cpp b/src/Features.cpp
index 07c93b9..c758084 100644
--- a/src/Features.cpp
+++ b/src/Features.cpp
@@ -40,6 +40,9 @@ _AstraExport bool hasFeature(const std::string &flag) {
if (flag == "fan_cone_BP_density_weighting_by_default") {
return true;
}
+ if (flag == "unpadded_GPULink") {
+ return true;
+ }
return false;
}