org.encog.engine.opencl
Class EncogCLPlatform
java.lang.Object
org.encog.engine.opencl.EncogCLItem
org.encog.engine.opencl.EncogCLPlatform
public class EncogCLPlatform
- extends EncogCLItem
An Encog CL platform.
|
Constructor Summary |
EncogCLPlatform(org.jocl.cl_platform_id platform)
Construct an OpenCL platform. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncogCLPlatform
public EncogCLPlatform(org.jocl.cl_platform_id platform)
- Construct an OpenCL platform.
- Parameters:
platform - The OpenCL platform.
getContext
public org.jocl.cl_context getContext()
- Returns:
- The context for this platform.
getDevices
public List<EncogCLDevice> getDevices()
- Returns:
- All devices on this platform.
getPlatform
public org.jocl.cl_platform_id getPlatform()
- Returns:
- The OpenCL platform.
getPlatformString
public String getPlatformString(int param)
- Get a config string from the platform.
- Parameters:
param - The param to get.
- Returns:
- The config string.
Copyright © 2011. All Rights Reserved.