fix for non-macos build issue on cblas.h (#227)

This commit is contained in:
davidkoski
2023-12-19 17:01:59 -08:00
committed by GitHub
parent 37024d899c
commit de892cb66c

View File

@@ -1,6 +1,10 @@
// Copyright © 2023 Apple Inc.
#include <VecLib/cblas.h>
#ifdef ACCELERATE_NEW_LAPACK
#include <vecLib/cblas_new.h>
#else
#include <cblas.h>
#endif
#include "mlx/array.h"
#include "mlx/backend/common/copy.h"