Skip to content

Commit

Permalink
fix: ccall signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Krimmer committed Sep 9, 2024
1 parent d8934c3 commit d798f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FINUFFT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ include("simple.jl")
function __init__()

# quick and dirty: make fftw thread safe
ccall((:fftw_make_planner_thread_safe, libfftw3), Cvoid, (Cvoid,), Ref(nothing))
ccall((:fftwf_make_planner_thread_safe, libfftw3f), Cvoid, (Cvoid,), Ref(nothing))
ccall((:fftw_make_planner_thread_safe, libfftw3), Cvoid, ())
ccall((:fftwf_make_planner_thread_safe, libfftw3f), Cvoid, ())

@require CUDA="052768ef-5323-5732-b1bb-66c8b64840ba" begin
using .CUDA
Expand Down

0 comments on commit d798f28

Please sign in to comment.