How CUDA memory model is supported by API functions.

image.png