package cudatest

import "gvisor.dev/gvisor/test/kubernetes/tests"

Package cudatest is a test that runs a CUDA workload on k8s clusters.

Package driver implements tests for driver version compatibility.

Index

Functions

func RunCudaTest122

func RunCudaTest122(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)

RunCudaTest122 runs a CUDA workload on a GKE node.

func RunCudaTest128

func RunCudaTest128(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)

RunCudaTest128 runs a CUDA workload on a GKE node.

func RunDriverVersion

func RunDriverVersion(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)

RunDriverVersion tests that all driver versions the cluster version are compatible with the runsc version.

func RunHello

func RunHello(ctx context.Context, t *testing.T, k8sCtx k8sctx.KubernetesContext, cluster *testcluster.TestCluster)

RunHello tests that a trivial alpine container runs correctly.

Source Files

cuda_test_lib.go driver_version.go hello.go

Version
v0.0.0-20250702182429-85e76111eb28 (latest)
Published
Jul 2, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
3 hours ago

Tools for package owners.