apiVersion: batch/v1
kind: Job
metadata:
  name: intelgpu-demo-job
  labels:
    jobgroup: intelgpu-demo
spec:
  template:
    metadata:
      labels:
        jobgroup: intelgpu-demo
    spec:
      restartPolicy: Never
      containers:
        -
          name: intelgpu-demo-job-1
          image: intel/ubuntu-demo-opencl:devel
          imagePullPolicy: IfNotPresent
          command: [ "/run-opencl-example.sh", "/root/6-1/fft" ]
          resources:
            limits:
              gpu.intel.com/i915: 1
