Exemplo n.º 1
0
        /// <summary>
        /// Get the OclDevice with the specific index
        /// </summary>
        /// <param name="d">The index of the ocl device</param>
        /// <returns>The ocl device with the specific index</returns>
        public OclDevice GetDevice(int d)
        {
            OclDevice device = new OclDevice();

            OclInvoke.oclPlatformInfoGetDevice(Ptr, device, d);
            return(device);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Get the OclDevice with the specific index
 /// </summary>
 /// <param name="d">The index of the ocl device</param>
 /// <returns>The ocl device with the specific index</returns>
 public OclDevice GetDevice(int d)
 {
    OclDevice device = new OclDevice();
    OclInvoke.oclPlatformInfoGetDevice(Ptr, device, d);
    return device;
 }