Question: Maple2021 and CUDA

``

Examples

 

n := 4000

M1 := LinearAlgebra:-RandomMatrix(n, n, datatype = float[4])

M2 := LinearAlgebra:-RandomMatrix(n, n, datatype = float[4])

CUDA:-IsEnabled()

false

(1.1)

tNoCUDA := time[real](M1.M2)

1.615

(1.2)

CUDA:-Enable(true)

false

(1.3)

CUDA:-IsEnabled()

true

(1.4)

tCUDA := time[real](M1.M2)

.397

(1.5)

evalf(tNoCUDA/tCUDA)

4.068010076

(1.6)

CUDA:-Enable(false)

true

(1.7)

CUDA:-IsEnabled()

false

(1.8)

NULL

Download cuda.mw

Hello all :-)

I just upgraded to 2021 and ran the example help page for CUDA.

From the help we can see that the ratio is 11.

With Maple 2020 I had a ratio of 7.24

With Maple 2021 I have a ratio of around 4. (see the mw attached).

I wonder with which version the help page was made but on my machines the ratio diminishes from version to version

but I upgraded the hardware.

Now it's Windows 10 Pro 20H2, the amazing AMD Ryzen Threadripper (64 cores) and 256 Go RAM, the graphic card is a NVIDIA RTX 3090 with...10496 CUDA cores.

So what can't I get a better ratio with/without CUDA?

Regards.

Please Wait...