mirror of
https://github.com/bluxmit/alnoda-workspaces.git
synced 2024-07-04 14:10:19 +12:00
12 lines
176 B
R
12 lines
176 B
R
install.packages("callr")
|
|
|
|
|
|
callr::r(function(){
|
|
system.time({
|
|
N <- 2^14
|
|
M <- matrix(rnorm(N*N), nrow=N, ncol=N)
|
|
M %*% M
|
|
})
|
|
}, env = c(LD_PRELOAD="libnvblas.so")
|
|
)
|