gpumat: gpumat

Description Usage Arguments Details Value See Also

View source: R/gpumat.r

Description

Constructor for gpumat objects.

Usage

1
gpumat(card, nrows = 0, ncols = 0, type = "double")

Arguments

card

A GPU card object; the return of card(). See ?card.

nrows, ncols

The dimensions of the matrix.

type

Storage type for the matrix. Should be one of 'int', 'float', or 'double'.

Details

Data is held in an external pointer.

Value

A gpumat class object.

See Also

gpumat-class


fml-fam/fmlr documentation built on Jan. 16, 2022, 9:27 a.m.