Esempio 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 Device GetDevice(int d)
        {
            Device device = new Device();

            OclInvoke.oclPlatformInfoGetDevice(Ptr, device, d);
            return(device);
        }