Refs #2899
[platform/upstream/openblas.git] / common_riscv64.h
index fe4e0a6..27f385d 100644 (file)
@@ -73,6 +73,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #define MB  __sync_synchronize()
 #define WMB __sync_synchronize()
+#define RMB __sync_synchronize()
 
 #define INLINE inline
 
@@ -90,4 +91,8 @@ static inline int blas_quickdivide(blasint x, blasint y){
 #define BUFFER_SIZE     ( 32 << 20)
 #define SEEK_ADDRESS
 
+#if defined(C910V)
+#include <riscv-vector.h>
+#endif
+
 #endif