Skip to content

Commit 6d16398

Browse files
committed
doc clang-format
1 parent e5aeb5b commit 6d16398

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/devnotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Developer notes
1717

1818
* There are some sphinx tags in the source code, indicated by @ in comments. Please leave these alone since they are needed by the doc generation.
1919

20+
* Source code is now in clang format: devs should run ``clang-format --files=<editedfile> -i --style=.clang-format`` before pushing, or set up their editor to do this
21+
automatically.
22+
2023
* If you add a new option field (recall it must be plain C style only, no special types) to ``include/finufft_opts.h``, don't forget to add it to ``include/finufft.fh``, ``include/finufft_mod.f90``, ``matlab/finufft.mw``, ``python/finufft/_finufft.py``, and the Julia interface, as well a paragraph describing its use in the docs. Also to set its default value in ``src/finufft.cpp``. You will then need to regenerate the docs as in ``docs/README``.
2124

2225
* For testing and performance measuring routines see ``test/README`` and ``perftest/README``. We need more of the latter, eg, something making performance graphs that enable rapid eyeball comparison of various settings/machines. Marco is working on that.

perftest/compare_spreads.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using CairoMakie
44
using JLD2 # for load/save arrays to file
55
using UnPack
66

7-
fnam = "results/master-vs-svec2l_gcc114_5700U_nthr8" # outfile head
7+
fnam = "results/master-vs-svec2_gcc114_5700U_nthr1" # outfile head
88
# locations of pair of FINUFFT repos to compare...
99
repo1 = "/home/alex/numerics/finufft"
1010
repo2 = "/home/alex/numerics/nufft/finufft-svec2"
@@ -62,7 +62,7 @@ function plot_all(fnam,ts,wstr,dims,M,N,nthr)
6262
end
6363

6464
# main script...........................................................................
65-
nthr = 8; # 1: leave cpu freq at max (4.3GHz); for 8, lower to 2.7GHz since drops to this.
65+
nthr = 1; # 1: leave cpu freq at max (4.3GHz); for 8, lower to 2.7GHz since drops to this.
6666
# set freq lim with cpupower-gui
6767
# check with: watch -n 1 sort -nr /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
6868
dims = 1:3

0 commit comments

Comments
 (0)