26%
11.05.2021
, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192]
A = single( rand(N,N) );
B = single( rand(N,N) );
start = clock();
C = A*B;
elapsedTime = etime(clock(), start);
gFlops = 2*N*N*N / (elapsedTime * 1e+9);
disp(sprintf("N = %4d
26%
07.02.2019
exiting the data region, the data from the accelerator is copied back to the host. Table 3 shows a simple example of using the copy
clause.
Table 3: The copy
Clause
Fortran
C
!$acc data copy(a
25%
25.03.2021
-machine)
UUID : e0e5d514:d2294825:45d9f09c:db485a0c
Events : 3
Number Major Minor RaidDevice State
0 252 0 0 active sync /dev/rd0
1 8 34
25%
30.01.2020
Conversion
$ sudo lvs -a vg-cache -o devices,segtype,lvattr,name,vgname,origin
Devices Type Attr LV VG Origin
/dev/nvme0n1(0) linear Cwi-aoC--- [fast
25%
30.11.2020
):
11
12 s = 0.0
13 s += h * f(a)
14 for i in range(1, n):
15 s += 2.0 * h * f(a + i*h)
16 # end for
17 s += h * f(b)
18 return (s/2.)
19 # end def
20
21
22 # Main section
23 comm = MPI
25%
25.03.2020
] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdd1[5] sde1[4] sdc1[2] sdb1[1] nvme0n1p1[0](J)
20508171264 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UU
25%
19.11.2019
that the conversion took effect:
$ sudo lvs -a vg-cache -o devices,segtype,lvattr,name,vgname,origin
Devices Type Attr LV VG Origin
/dev/nvme0n1(0) linear Cwi-aoC
25%
05.08.2024
.io/library/ubuntu latest 35a88802559d 7 weeks ago 80.6 MB
docker.io/library/hello-world latest d2c94e258dcb 15 months ago 28.5 kB
Listing 12: Checking for GFortran
$ podman run -it ubuntu-dev2 /bin/bash
root
25%
30.01.2024
Dell Precision Workstation T7910
Power
1,300W
CPU
2x Intel Xeon Gold E5-2699 V4, 22 cores, 2.4GHz, 55MB of cache, LGA 2011-3
GPU, NPU
n/a*
Memory
24%
07.10.2014
.0 MB 2014-03-01 10:15 36467d 1
04 three.img 0 4.0 MB 0.0 MB 0.0 MB 2014-03-01 10:16 4e5a1c 3
05 two.img 0 4.0 MB 0.0 MB 0.0 MB 2014-03-01 10:15 a27d79 2
06 quark