private static cudaOccPartitionedGCSupport cudaOccPartitionedGlobalCachingModeSupport(cudaOccDeviceProp properties)
{
cudaOccPartitionedGCSupport limit = cudaOccPartitionedGCSupport.NotSupported;
if ((properties.computeMajor == 5 && (properties.computeMinor == 2 || properties.computeMinor == 3)) ||
properties.computeMajor == 6)
{
limit = cudaOccPartitionedGCSupport.Supported;
}
if (properties.computeMajor == 6 && properties.computeMinor == 0) {
limit = cudaOccPartitionedGCSupport.NotSupported;
}
return limit;
}