Readonly
Queries the amount of free and total memory for the resource.
Optional
the stream whose memory manager we want to retrieve
a tuple which contains [free memory, total memory] (in bytes)
[free memory, total memory]
The other resource to compare to
true if the two resources are equal, else false
Two CudaMemoryResource instances always compare equal, because they can each deallocate memory allocated by the other.
CudaMemoryResource
Queries the amount of free and total memory for the resource.