Exemplo n.º 1
0
        public void GetCommitment()
        {
            const int allocationSize = 32;

            using (DeviceMemory memory = AllocateMappableMemory(allocationSize))
            {
                long commitment = memory.GetCommitment();
                Assert.True(commitment > 0);
            }
        }