Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Aug 1, 2021
1 parent 03762f2 commit 28db68e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ nvcc kernel.cu -o kernel.o -c --use_fast_math --std=c++17 -gencode arch=compute_
# VapourSynth
g++-11 source.cpp kernel.o -o libbm3dcuda.so -shared -fPIC -I/usr/local/cuda-11.4/include -L/usr/local/cuda-11.4/lib64 -lcudart_static --std=c++20 -march=native -O3
# AviSynth (x64)
# AviSynth
g++-11 source_avs.cpp kernel.o -o libbm3dcuda_avs.so -shared -fPIC -I/usr/local/cuda-11.4/include -L/usr/local/cuda-11.4/lib64 -lcudart_static --std=c++20 -march=native -O3
```

Expand All @@ -174,5 +174,9 @@ g++-11 source.cpp -o libbm3dcuda_rtc.so -shared -fPIC -I /usr/local/cuda-11.4/in
```
cd cpu_source
g++ source.cpp -o libbm3dcpu.so -shared -fPIC --std=c++17 -march=native -O3
# VapourSynth
g++ source.cpp -o libbm3dcpu.so -shared -fPIC --std=c++17 -march=native -O3 -ffast-math
# Avisynth
g++ source_avs.cpp -o libbm3dcpu_avs.so -shared -fPIC --std=c++17 -march=native -O3 -ffast-math
```

0 comments on commit 28db68e

Please sign in to comment.