예제 #1
0
        public void cudaStreamCreate_cudaStreamDestroy_test()
        {
            IntPtr stream = IntPtr.Zero;
            var    status = CudaRuntimeApi.cudaStreamCreate(ref stream);

            Assert.AreEqual(status, cudaError.cudaSuccess);

            status = CudaRuntimeApi.cudaStreamDestroy(stream);
            Assert.AreEqual(status, cudaError.cudaSuccess);
        }