|
563 | 563 | "text": [ |
564 | 564 | "--- \n", |
565 | 565 | "+++ \n", |
566 | | - "@@ -43,7 +43,8 @@\n", |
| 566 | + "@@ -45,7 +45,8 @@\n", |
567 | 567 | " {\n", |
568 | 568 | " for (int z = z_m; z <= z_M; z += 1)\n", |
569 | 569 | " {\n", |
|
600 | 600 | "text": [ |
601 | 601 | "--- \n", |
602 | 602 | "+++ \n", |
603 | | - "@@ -44,7 +44,7 @@\n", |
| 603 | + "@@ -46,7 +46,7 @@\n", |
604 | 604 | " for (int z = z_m; z <= z_M; z += 1)\n", |
605 | 605 | " {\n", |
606 | 606 | " float r0 = 1.0F/h_y;\n", |
|
636 | 636 | "text": [ |
637 | 637 | "--- \n", |
638 | 638 | "+++ \n", |
639 | | - "@@ -44,7 +44,7 @@\n", |
| 639 | + "@@ -46,7 +46,7 @@\n", |
640 | 640 | " for (int z = z_m; z <= z_M; z += 1)\n", |
641 | 641 | " {\n", |
642 | 642 | " float r0 = 1.0F/h_y;\n", |
|
1155 | 1155 | "name": "stdout", |
1156 | 1156 | "output_type": "stream", |
1157 | 1157 | "text": [ |
| 1158 | + "/* Devito generated code for Operator `Kernel` */\n", |
| 1159 | + "\n", |
1158 | 1160 | "#define _POSIX_C_SOURCE 200809L\n", |
1159 | 1161 | "#define START(S) struct timeval start_ ## S , end_ ## S ; gettimeofday(&start_ ## S , NULL);\n", |
1160 | 1162 | "#define STOP(S,T) gettimeofday(&end_ ## S, NULL); T->S += (double)(end_ ## S .tv_sec-start_ ## S.tv_sec)+(double)(end_ ## S .tv_usec-start_ ## S .tv_usec)/1000000;\n", |
|
1445 | 1447 | "name": "stdout", |
1446 | 1448 | "output_type": "stream", |
1447 | 1449 | "text": [ |
| 1450 | + "/* Devito generated code for Operator `Kernel` */\n", |
| 1451 | + "\n", |
1448 | 1452 | "#define _POSIX_C_SOURCE 200809L\n", |
1449 | 1453 | "#define START(S) struct timeval start_ ## S , end_ ## S ; gettimeofday(&start_ ## S , NULL);\n", |
1450 | 1454 | "#define STOP(S,T) gettimeofday(&end_ ## S, NULL); T->S += (double)(end_ ## S .tv_sec-start_ ## S.tv_sec)+(double)(end_ ## S .tv_usec-start_ ## S .tv_usec)/1000000;\n", |
|
1585 | 1589 | "name": "stdout", |
1586 | 1590 | "output_type": "stream", |
1587 | 1591 | "text": [ |
| 1592 | + "/* Devito generated code for Operator `Kernel` */\n", |
| 1593 | + "\n", |
1588 | 1594 | "#define _POSIX_C_SOURCE 200809L\n", |
1589 | 1595 | "#define START(S) struct timeval start_ ## S , end_ ## S ; gettimeofday(&start_ ## S , NULL);\n", |
1590 | 1596 | "#define STOP(S,T) gettimeofday(&end_ ## S, NULL); T->S += (double)(end_ ## S .tv_sec-start_ ## S.tv_sec)+(double)(end_ ## S .tv_usec-start_ ## S .tv_usec)/1000000;\n", |
|
1748 | 1754 | "name": "python", |
1749 | 1755 | "nbconvert_exporter": "python", |
1750 | 1756 | "pygments_lexer": "ipython3", |
1751 | | - "version": "3.12.8" |
| 1757 | + "version": "3.13.5" |
1752 | 1758 | } |
1753 | 1759 | }, |
1754 | 1760 | "nbformat": 4, |
|
0 commit comments