Allocate device core usage

Allocate device core to container

Allocate a percentage of device core resources by specifying the nvidia.com/gpucores resource. This is optional; each unit of nvidia.com/gpucores equals 1% of device cores.

      resources:
        limits:
          nvidia.com/gpualloc: 1 # requesting 1 GPU
          nvidia.com/gpucores: 50 # Each GPU allocates 50% device cores.

NOTICE: HAMi-core uses time-slicing to limit device core usage, so GPU utilization reported by nvidia-smi may fluctuate.