aboutsummaryrefslogtreecommitdiff
path: root/ell_relax.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-12-27 11:25:30 +0100
committerAnton Khirnov <anton@khirnov.net>2018-12-27 11:56:47 +0100
commitebb69e5e3765c0a65f92d4eb5e4ae8ba56c23f94 (patch)
tree9ab88212e897e7c4f32a5bca312c7a1208239c46 /ell_relax.h
parent8b99b8dc65863c60f0473dc0bfeeaf6f8dd2550e (diff)
Add CPU feature detection.
Will be used for dynamically dispatching future asm functions.
Diffstat (limited to 'ell_relax.h')
-rw-r--r--ell_relax.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ell_relax.h b/ell_relax.h
index 4e97882..43546c4 100644
--- a/ell_relax.h
+++ b/ell_relax.h
@@ -155,6 +155,11 @@ typedef struct EllRelaxContext {
MG2DLogger logger;
/**
+ * Flags indicating supported CPU features.
+ */
+ int cpuflags;
+
+ /**
* Size of the solver grid, set by mg2di_ell_relax_alloc().
* Read-only for the caller.
*/