How CUDA memory model is supported by API functions.