From be7189dd8b42c9b1903ddfea493c8d5094d7fbda Mon Sep 17 00:00:00 2001 From: Cory Bloor Date: Tue, 20 Aug 2024 14:04:16 -0600 Subject: [PATCH] Deprecate Fortran bindings in favour of hipfort (#312) * Deprecate Fortran bindings in favour of hipfort * Remove unused headings --- CHANGELOG.md | 4 ++++ library/src/hipsolver_module.f90 | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f65cdc5..037afc1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ Full documentation for hipSOLVER is available at the [hipSOLVER Documentation](h - The --no-sparse option of the install script now only affects the hipSOLVER clients and their dependency on hipSPARSE. Use the `BUILD_HIPSPARSE_TESTS` CMake option to enable tests for the hipsolverSp API (on by default). +### Deprecated +- The Fortran bindings provided in `hipsolver_module.f90` have been deprecated. + The Fortran bindings provided by the hipfort project are recommended instead. + ## hipSOLVER 2.2.0 for ROCm 6.2.0 ### Added diff --git a/library/src/hipsolver_module.f90 b/library/src/hipsolver_module.f90 index eb40d5fb..59622b65 100644 --- a/library/src/hipsolver_module.f90 +++ b/library/src/hipsolver_module.f90 @@ -1,5 +1,5 @@ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -! Copyright (C) 2020-2022 Advanced Micro Devices, Inc. All rights reserved. +! Copyright (C) 2020-2024 Advanced Micro Devices, Inc. All rights reserved. ! ! Permission is hereby granted, free of charge, to any person obtaining a copy ! of this software and associated documentation files (the "Software"), to deal @@ -21,6 +21,16 @@ ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +! +! DEPRECATED +! +! These Fortran bindings are deprecated and may be removed in a future +! release. The hipfort project provides hipsolver Fortran bindings that +! are recommended for use instead. +! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + module hipsolver_enums use iso_c_binding