modify to refactor CL-CUDA.API.CONTEXT package