Overview - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


CUDA Package

use CUDA(R) technology to accelerate certain LinearAlgebra routines

 

Calling Sequence

Introduction

List of CUDA Package Commands

Examples

Calling Sequence

CUDA:-command( arguments )

command( arguments )

Introduction

• 

The CUDA package allows Maple to use the graphics processing unit (GPU) of your NVIDIA(R) Compute Unified Device Architecture (CUDA)-enabled hardware to accelerate certain LinearAlgebra routines.

• 

For more information about NVIDIA and CUDA technology, visit http://www.nvidia.com and http://www.nvidia.com/object/cuda_home.html.

• 

To use this package, you need NVIDIA CUDA-enabled hardware  and the most recent drivers for that hardware installed on your computer. For more information about supported hardware and a complete list of requirements, see the Supported Hardware for CUDA Acceleration help page.

• 

For more information about the routines that are accelerated when CUDA technology is turned on, see the Routines Accelerated by the CUDA Package help page.

List of CUDA Package Commands

ComputeLevel

Enable

HasDoubleSupport

IsEnabled

Properties

 

 

 

• 

The Enable function turns CUDA acceleration on and off.

• 

The IsEnabled function returns a value of true if CUDA acceleration is turned on and false otherwise.

• 

The ComputeLevel function indicates the compute level of the CUDA-enabled devices available on your computer.

• 

The HasDoubleSupport function checks whether the CUDA-enabled devices available on your computer support double precision computations.

• 

The Properties function displays information about the CUDA-enabled devices available on your computer.

Examples

n4000:

M1LinearAlgebra:-RandomMatrixn,n,datatype=float4:

M2LinearAlgebra:-RandomMatrixn,n,datatype=float4:

CUDA:-IsEnabled

false

(1)

tNoCUDAtimerealM1·M2

tNoCUDA13.823

(2)

CUDA:-Enabletrue

false

(3)

CUDA:-IsEnabled

true

(4)

tCUDAtimerealM1·M2

tCUDA1.163

(5)

evalftNoCUDAtCUDA

11.88564058

(6)

CUDA:-Enablefalse

true

(7)

CUDA:-IsEnabled

false

(8)

See Also

LinearAlgebra