Skip to content

Commit f478cb3

Browse files
authored
Fix pocketfft (#17746)
Fixes memalign on Apple platforms in pocketfft: see mreineck/pocketfft#28
1 parent b778155 commit f478cb3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

kernels/optimized/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ target_include_directories(
6868
)
6969
target_compile_definitions(
7070
optimized_kernels PRIVATE "ET_USE_PYTORCH_HEADERS=ET_HAS_EXCEPTIONS"
71+
POCKETFFT_USE_POSIX_MEMALIGN
7172
)
7273
target_link_libraries(
7374
optimized_kernels PUBLIC executorch_core cpublas extension_threadpool

third-party/pocketfft

0 commit comments

Comments
 (0)