added stencil code

This commit is contained in:
Evghenii
2013-11-18 12:04:00 +01:00
parent 8d4dd13750
commit 589538bf39
38 changed files with 72 additions and 8820 deletions

View File

@@ -85,6 +85,7 @@ int main() {
// the minimum time of three runs.
//
double minTimeISPC = 1e30;
#if 0
for (int i = 0; i < 3; ++i) {
reset_and_start_timer();
loop_stencil_ispc(0, 6, width, Nx - width, width, Ny - width,
@@ -95,6 +96,7 @@ int main() {
}
printf("[stencil ispc 1 core]:\t\t[%.3f] million cycles\n", minTimeISPC);
#endif
InitData(Nx, Ny, Nz, Aispc, vsq);