Simulating a Steam Engine with C++ [video]
youtube.com3 pointsby almostdigital0 comments
Python 119.189 GFLOPS
Naive: 6.275 GFLOPS 0.05x faster than Python
Vectorized: 22.259 GFLOPS 0.19x faster than Python
Parallelized: 50.258 GFLOPS 0.42x faster than Python
Tiled: 59.692 GFLOPS 0.50x faster than Python
Unrolled: 62.165 GFLOPS 0.52x faster than Python
Accumulated: 565.240 GFLOPS 4.74x faster than Python
np.__config__: Build Dependencies:
blas:
detection method: pkgconfig
found: true
include directory: /opt/arm64-builds/include
lib directory: /opt/arm64-builds/lib
name: openblas64
openblas configuration: USE_64BITINT=1 DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3
pc file directory: /usr/local/lib/pkgconfig
version: 0.3.23.dev
lapack:
detection method: internal
found: true
include directory: unknown
lib directory: unknown
name: dep4364960240
openblas configuration: unknown
pc file directory: unknown
version: 1.26.1
Compilers:
c:
commands: cc
linker: ld64
name: clang
version: 14.0.0
c++:
commands: c++
linker: ld64
name: clang
version: 14.0.0
cython:
commands: cython
linker: cython
name: cython
version: 3.0.3
Machine Information:
build:
cpu: aarch64
endian: little
family: aarch64
system: darwin
host:
cpu: aarch64
endian: little
family: aarch64
system: darwin
Python Information:
path: /private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-27utctq_/cp310-macosx_arm64/build/venv/bin/python
version: '3.10'
SIMD Extensions:
baseline:
- NEON
- NEON_FP16
- NEON_VFPV4
- ASIMD
found:
- ASIMDHP
not found:
- ASIMDFHM Python 4.216 GFLOPS
Naive: 6.400 GFLOPS 1.52x faster than Python
Vectorized: 22.232 GFLOPS 5.27x faster than Python
Parallelized: 52.591 GFLOPS 12.47x faster than Python
Tiled: 60.888 GFLOPS 14.44x faster than Python
Unrolled: 62.514 GFLOPS 14.83x faster than Python
Accumulated: 506.209 GFLOPS 120.07x faster than Python Python 4.216 GFLOPS
Naive: 6.400 GFLOPS 1.52x faster than Python
Vectorized: 22.232 GFLOPS 5.27x faster than Python
Parallelized: 52.591 GFLOPS 12.47x faster than Python
Tiled: 60.888 GFLOPS 14.44x faster than Python
Unrolled: 62.514 GFLOPS 14.83x faster than Python
Accumulated: 506.209 GFLOPS 120.07x faster than Python
With the prompt "WWII Plane Japan Kawasaki Ki-61 flying by, propeller airplane" and setting looping on and 30 sec duration manually instead of auto (the duration predictor fails pretty bad at this prompt, you need to be logged in to set duration manually) it works pretty well. No idea if it's close to that specific airplane though it sounds like a ww2 plane to me though.