View source: R/profitUtility.R
profitGetOpenCLEnvs | R Documentation |
This function returns a data.frame with information on available OpenCL environments, which can be used to integrate profiles and/or convolve images with CPUs and GPUs and passed on to profitBenchmark
.
profitGetOpenCLEnvs(name = "opencl", make.envs = FALSE)
name |
String; the name to give all of the environments. The name can be passed as the method to functions like |
make.envs |
Logical; whether to actually initialize all of the environments or simply list them. |
The output is a data.frame with information on every device for each available environment.
Note, if the sub-list returned by profitOpenCLEnvInfo
has NULL devices then that openCL device will be skipped when compiling this data.frame.
Dan Taranu
profitBenchmark
, profitMakeConvolver
, profitOpenCLEnv
envs = profitGetOpenCLEnvs(make.envs=FALSE)
print(envs)
str(envs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.