Blender Git Loki

Git Commits -> Revision 063ce7f

September 13, 2021, 13:03 (GMT)
Fluid: Initial changes for OpenMP GPU support

Contains basic support for OpenMP GPU offloading.
That is, offloading of fluid KERNEL loops to the GPU.

This branch offloads pressure and advection calls only - the 2 most
expensive operation per step. In theory though, any function can be
offloaded.

For now, this branch needs to be build with a compiler that supports
Nvidia GPU offloading. Exact GPU models need to be specified via CMake.

Commit Details:

Full Hash: 063ce7f550f1612ab0e34c4ecb4b57f8401b84b4
Parent Commit: 4b06420
Lines Changed: +6168, -8355

1 Deleted Path:

/extern/mantaflow/preprocessed/plugin/viscosity.cpp (+0, -1428)

64 Modified Paths:

/build_files/build_environment/cmake/llvm.cmake (+13, -1) (Diff)
/build_files/cmake/platform/platform_unix.cmake (+2, -1) (Diff)
/CMakeLists.txt (+15, -1) (Diff)
/extern/curve_fit_nd/intern/curve_fit_corners_detect.c (+1, -1) (Diff)
/extern/curve_fit_nd/intern/curve_fit_cubic.c (+5, -5) (Diff)
/extern/curve_fit_nd/intern/curve_fit_inline.h (+2, -2) (Diff)
/extern/draco/draco/src/draco/animation/keyframe_animation.cc (+1, -0) (Diff)
/extern/mantaflow/CMakeLists.txt (+155, -142) (Diff)
/extern/mantaflow/helper/util/rcmatrix.h (+1, -1) (Diff)
/extern/mantaflow/preprocessed/commonkernels.h (+407, -446) (Diff)
/extern/mantaflow/preprocessed/conjugategrad.cpp (+179, -149) (Diff)
/extern/mantaflow/preprocessed/conjugategrad.h (+163, -436) (Diff)
/extern/mantaflow/preprocessed/fastmarch.cpp (+129, -160) (Diff)
/extern/mantaflow/preprocessed/fileio/iogrids.cpp (+20, -28) (Diff)
/extern/mantaflow/preprocessed/fileio/ioutil.cpp (+1, -1) (Diff)
/extern/mantaflow/preprocessed/fileio/iovdb.cpp (+23, -32) (Diff)
/extern/mantaflow/preprocessed/fluidsolver.h (+0, -1) (Diff)
/extern/mantaflow/preprocessed/general.h (+0, -33) (Diff)
/extern/mantaflow/preprocessed/gitinfo.h (+1, -1) (Diff)
/extern/mantaflow/preprocessed/grid.cpp (+900, -640) (Diff)
/extern/mantaflow/preprocessed/grid.h (+316, -163) (Diff)
/extern/mantaflow/preprocessed/grid.h.reg.cpp (+113, -77) (Diff)
/extern/mantaflow/preprocessed/grid4d.cpp (+270, -354) (Diff)
/extern/mantaflow/preprocessed/grid4d.h (+123, -164) (Diff)
/extern/mantaflow/preprocessed/kernel.h (+0, -13) (Diff)
/extern/mantaflow/preprocessed/levelset.cpp (+107, -125) (Diff)
/extern/mantaflow/preprocessed/levelset.h (+3, -3) (Diff)
/extern/mantaflow/preprocessed/mesh.cpp (+309, -471) (Diff)
/extern/mantaflow/preprocessed/mesh.h (+0, -3) (Diff)
/extern/mantaflow/preprocessed/movingobs.h (+0, -1) (Diff)
/extern/mantaflow/preprocessed/multigrid.cpp (+144, -207) (Diff)
/extern/mantaflow/preprocessed/noisefield.h (+0, -1) (Diff)
/extern/mantaflow/preprocessed/particle.cpp (+241, -355) (Diff)
/extern/mantaflow/preprocessed/particle.h (+57, -137) (Diff)
/extern/mantaflow/preprocessed/plugin/advection.cpp (+224, -221) (Diff)
/extern/mantaflow/preprocessed/plugin/apic.cpp (+11, -21) (Diff)
/extern/mantaflow/preprocessed/plugin/extforces.cpp (+189, -209) (Diff)
/extern/mantaflow/preprocessed/plugin/fire.cpp (+57, -61) (Diff)
/extern/mantaflow/preprocessed/plugin/flip.cpp (+286, -314) (Diff)
/extern/mantaflow/preprocessed/plugin/fluidguiding.cpp (+147, -262) (Diff)
/extern/mantaflow/preprocessed/plugin/initplugins.cpp (+230, -258) (Diff)
/extern/mantaflow/preprocessed/plugin/kepsilon.cpp (+41, -51) (Diff)
/extern/mantaflow/preprocessed/plugin/pressure.cpp (+311, -227) (Diff)
/extern/mantaflow/preprocessed/plugin/ptsplugins.cpp (+40, -56) (Diff)
/extern/mantaflow/preprocessed/plugin/secondaryparticles.cpp (+241, -273) (Diff)
/extern/mantaflow/preprocessed/plugin/surfaceturbulence.cpp (+165, -229) (Diff)
/extern/mantaflow/preprocessed/plugin/vortexplugins.cpp (+13, -19) (Diff)
/extern/mantaflow/preprocessed/plugin/waveletturbulence.cpp (+137, -149) (Diff)
/extern/mantaflow/preprocessed/plugin/waves.cpp (+76, -85) (Diff)
/extern/mantaflow/preprocessed/registration.cpp (+0, -4) (Diff)
/extern/mantaflow/preprocessed/shapes.cpp (+148, -168) (Diff)
/extern/mantaflow/preprocessed/shapes.h (+0, -6) (Diff)
/extern/mantaflow/preprocessed/test.cpp (+26, -40) (Diff)
/extern/mantaflow/preprocessed/turbulencepart.cpp (+10, -14) (Diff)
/extern/mantaflow/preprocessed/turbulencepart.h (+0, -1) (Diff)
/extern/mantaflow/preprocessed/vortexpart.cpp (+34, -87) (Diff)
/extern/mantaflow/preprocessed/vortexpart.h (+0, -1) (Diff)
/extern/mantaflow/preprocessed/vortexsheet.h (+0, -1) (Diff)
/extern/mantaflow/UPDATE.sh (+13, -5) (Diff)
/intern/mantaflow/intern/MANTA_main.cpp (+3, -2) (Diff)
/intern/mantaflow/intern/strings/fluid_script.h (+26, -5) (Diff)
/intern/mantaflow/intern/strings/liquid_script.h (+31, -2) (Diff)
/source/blender/makesdna/DNA_fluid_defaults.h (+1, -1) (Diff)
/source/creator/CMakeLists.txt (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021