|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
Go to the source code of this file.
Functions | |
| double | cpu_reduction (GLuint *src, size_t offset, size_t nb, const char op) |
| double | gpu_reduction (size_t offset, const char op, const RegionParameters *region, size_t nb) |
Definition at line 3 of file reduction.h.
References a, assert, GL_BUFFER_UPDATE_BARRIER_BIT, GL_C, GL_MAP_READ_BIT, GL_SHADER_STORAGE_BUFFER, glBindBuffer, glMapBufferRange, glMemoryBarrier, glUnmapBuffer, GPUContext, HUGE, i, index, min, op, size, and x.
Referenced by gpu_reduction().
Definition at line 43 of file reduction.h.
References a, a32_hash(), a32_hash_add(), a32_hash_init(), assert, cpu_reduction(), dst, fs, GL_C, GL_DYNAMIC_READ, GL_SHADER_STORAGE_BARRIER_BIT, GL_SHADER_STORAGE_BUFFER, glBindBuffer, glBindBufferBase, glBufferData, glDispatchCompute, glGenBuffers, glGetBufferSubData, glMemoryBarrier, glsl_preproc, glUniform1ui, glUseProgram, gpu_grid, GPUContext, i, j, L0, load_shader(), N, op, s, size, sq(), str_append, swap, x, X0, and Y0.