gpuvec: gpuvec

Description Usage Arguments Details Value See Also

View source: R/gpuvec.r

Description

Constructor for gpuvec objects.

Usage

1
gpuvec(card, size = 0, type = "double")

Arguments

card

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

size

Length of the vector.

type

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

Details

Data is held in an external pointer.

Value

A gpuvec class object.

See Also

gpuvec-class


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