Our m506 has 8GB.
Verified that the kernel mode driver is installed on the host machine.
Using platform: Altera SDK for OpenCL
Using Device with name: m506 : m506
Using Device from vendor: Pico Computing Inc.
clGetDeviceInfo CL_DEVICE_GLOBAL_MEM_SIZE = 8589934592
clGetDeviceInfo CL_DEVICE_MAX_MEM_ALLOC_SIZE = 8588886016
Memory consumed for internal use = 1048576
Actual maximum buffer size = 8588886016 bytes
Writing 8191 MB to global memory ...
Write speed: 2179.79 MB/s [2178.55 -> 2180.43]
Reading and verifying 8191 MB from global memory ...
Read speed: 3121.04 MB/s [3120.68 -> 3121.29]
Successfully wrote and readback 8191 MB buffer
Transferring 8192 KBs in 16 512 KB blocks ... 2625.61 MB/s
Transferring 8192 KBs in 8 1024 KB blocks ... 2680.01 MB/s
Transferring 8192 KBs in 4 2048 KB blocks ... 2875.58 MB/s
Transferring 8192 KBs in 2 4096 KB blocks ... 2995.90 MB/s
Transferring 8192 KBs in 1 8192 KB blocks ... 3048.22 MB/s
PCIe Gen2.0 peak speed: 500MB/s/lane
Writing 8192 KBs with block size (in bytes) below:
Block_Size Avg Max Min End-End (MB/s)
524288 1791.03 1890.40 1718.31 1784.67
1048576 1885.19 1918.46 1837.53 1880.12
2097152 2013.79 2042.29 1960.92 2011.01
4194304 2100.40 2107.05 2093.78 2099.05
8388608 2115.81 2115.81 2115.81 2115.81
Reading 8192 KBs with block size (in bytes) below:
Block_Size Avg Max Min End-End (MB/s)
524288 2528.00 2625.61 2357.35 2514.59
1048576 2630.47 2680.01 2604.23 2619.32
2097152 2848.14 2875.58 2826.59 2839.07
4194304 2980.27 2995.90 2964.80 2977.00
8388608 3048.22 3048.22 3048.22 3048.22
Write top speed = 2115.81 MB/s
Read top speed = 3048.22 MB/s
Throughput = 2582.02 MB/s
DIAGNOSTIC_PASSED