# \donttest{
if (FALSE) {
#build with a matrix that contains int number. It will not work.
x <- gpu.matrix(1:9,nrow=3,ncol = 3,dtype = "int")
x
try(expmGPU(x))
#need to be float and not int
x <- gpu.matrix(1:9,nrow=3,ncol = 3,dtype = "float64")
expmGPU(x)
}
# }
Run the code above in your browser using DataLab