This commit is contained in:
conrad
2022-06-02 13:51:23 +10:00
parent 3460d489d6
commit 8f2f5be242
+2
View File
@@ -77,6 +77,8 @@ memory::acquire(const uword n_elem)
}
#elif defined(_MSC_VER)
{
// Windoze is too primitive to handle C++17 std::aligned_alloc()
//out_memptr = (eT *) malloc(sizeof(eT)*n_elem);
//out_memptr = (eT *) _aligned_malloc( sizeof(eT)*n_elem, 16 ); // lives in malloc.h