# An openCL compiler with the capacity to compile R functions and run the code on GPU

## Documentation for package ‘gpuMagic’ version 1.4.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

.kernel | Excute the openCL function
as.matrix.gpuMatrix | Convert the gpuMatrix object into a matrix
as.vector.gpuMatrix | Convert the gpuMatrix object into a vector
compileGPUCode | Compile the R function without excute it in the device.
dim | gpuMatrix class
dim-method | gpuMatrix class
download | gpuMatrix class
download-method | gpuMatrix class
extractVars | Internal usage only, the package export this function only for the other package to access.
extractVars.default | Internal usage only, the package export this function only for the other package to access.
extractVars.expression | Internal usage only, the package export this function only for the other package to access.
extractVars.extCode | Internal usage only, the package export this function only for the other package to access.
extractVars.varInfo | Internal usage only, the package export this function only for the other package to access.
getCurDevice | Query and select the devices
getDeviceIndex | Query and select the devices
getDeviceInfo | Query and select the devices
getDeviceList | Query and select the devices
getJobStatus | Query and select the devices
getSize | gpuMatrix class
getSize-method | gpuMatrix class
gpuEmptMatrix | gpuMatrix class
gpuMagic.getAvailableType | Get all the available openCL variable type
gpuMagic.getMemUsage | Get the device memory usage
gpuMagic.getOptions | Get the openCL options
gpuMagic.setOptions | Set the openCL options
gpuMatrix | gpuMatrix class
gpuSapply | A GPU version of the sapply function
gpuSapply.getOption | Get the package compilation options
gpu_cast_double | Internal usage only, the package export this function only for the other package to access.
gpu_cast_float | Internal usage only, the package export this function only for the other package to access.
gpu_cast_int | Internal usage only, the package export this function only for the other package to access.
gpu_cast_long | Internal usage only, the package export this function only for the other package to access.
gpu_cast_uint | Internal usage only, the package export this function only for the other package to access.
gpu_cast_ulong | Internal usage only, the package export this function only for the other package to access.
isgreater | Internal usage only, the package export this function only for the other package to access.
kernel.getOption | Get the openCL compilation options
length | gpuMatrix class
length-method | gpuMatrix class
Matrix | Create a matrix
ncol | gpuMatrix class
ncol-method | gpuMatrix class
nrow | gpuMatrix class
nrow-method | gpuMatrix class
print.deviceList | Print the available options in a pretty format
print.options | Print the available options in a pretty format
print.plainText | Print the available options in a pretty format
print.varInfo | Print the available options in a pretty format
return_nocpy | No copy method
Scalar | Create a scalar variable
setDevice | Query and select the devices
subRef | Get a reference of the subset of a matrix
t_nocpy | No copy method
upload | gpuMatrix class
upload-method | gpuMatrix class
[ | extract/set parts of the data in gpuMatrix object
[-method | extract/set parts of the data in gpuMatrix object
[<--method | extract/set parts of the data in gpuMatrix object