summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/astra/Features.h4
-rw-r--r--src/Features.cpp3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/astra/Features.h b/include/astra/Features.h
index fe7348e..aca51c4 100644
--- a/include/astra/Features.h
+++ b/include/astra/Features.h
@@ -55,6 +55,10 @@ fan_cone_BP_density_weighting_by_default
weighting by default to more closely approximate the true mathematical adjoint.
The DensityWeighting cuda3d projector option is removed.
+unpadded_GPULink
+ This is set since FP3D no longer silently fails with GPULink memory
+ that is not padded to a multiple of 32 pixels
+
For future backward-incompatible changes, extra features will be added here
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;
}