sph_benchmark.h

来自「游戏编程精粹6第中关于粒子的实时流体仿真系统,对入门的游戏开发者很有帮助.」· C头文件 代码 · 共 11 行

H
11
字号
#ifndef _SPH_BENCHMARK_H_
#define _SPH_BENCHMARK_H_

#include "cpu_sph.h"
#include "gpu_util.h"

int benchmark_cpu(cpu_sph* sph, int itr, float timestep);
int benchmark_neighbour_search_cpu(cpu_sph* sph, int itr);
void print_benchmark(cpu_sph* sph, int itr, float timestep);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?