How to test GPU memory or CUDA-enabled and OpenCL-enabled GPUs