diff options
Diffstat (limited to 'src/utilities/utilities.hpp')
-rw-r--r-- | src/utilities/utilities.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index 16a241af..fcc1c57f 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -372,6 +372,12 @@ std::string GetDeviceArchitecture(const Device& device); std::string GetDeviceName(const Device& device); // ================================================================================================= + +// Solve Bezout's identity +// a * p + b * q = r = GCD(a, b) +void EuclidGCD(int a, int b, int &p, int &q, int &r); + +// ================================================================================================= } // namespace clblast // CLBLAST_UTILITIES_H_ |