add compute capability check