SystemResources

abstract class SystemResources

System resources which are supported by the Grader, and can be requested by the grading configuration.

This class acts as the common superclass for the class used in ConfigT and dev.ust.zinc.grader.runner.context.EnvContext, listing all available features which can be customized. Subclasses can choose the fields to expose to users (of the Grader or API) and leave other fields defaulted if the feature is not supported by the runner.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val gpu: List<GpuDevice.Vendor>?

List of GPU vendors required for the pipeline.

Link copied to clipboard
abstract val network: Boolean?

Whether to enable network access.