Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional gpu tests (New) #1359

Merged
merged 18 commits into from
Aug 1, 2024
Merged

Add additional gpu tests (New) #1359

merged 18 commits into from
Aug 1, 2024

Commits on Jul 29, 2024

  1. Clone nvidia/cuda-samples repo

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3dceb34 View commit details
    Browse the repository at this point in the history
  2. Add arm64 support to gpu-setup

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    970ece7 View commit details
    Browse the repository at this point in the history
  3. Fix GPG missing key for cuda repo.

    Some repositories (namely 24.04) do not have the cuda-archive-keyring.gpg file. All relevant repositories have a .pub file, however.
    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e92c17b View commit details
    Browse the repository at this point in the history
  4. Add some cuda-samples tests.

    Added matrixMulDrv, vectorAddDrv, deviceQueryDrv, simpleTextureDrv
    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3b68e48 View commit details
    Browse the repository at this point in the history
  5. Use uname -m instead of uname -i

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2125c1f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5fc54be View commit details
    Browse the repository at this point in the history
  7. Rename gpgpu test plans

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    0de931c View commit details
    Browse the repository at this point in the history
  8. Fix new gpgpu names in gpgpu-only.pxu

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    2b37179 View commit details
    Browse the repository at this point in the history
  9. Fix typos in gpgpu test-plan.pxu

    pedro-avalos authored and Hook25 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    cf1dfdf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89dec7b View commit details
    Browse the repository at this point in the history
  11. Verify cuda GPG key being imported.

    This hardcodes the current gpg key and checks its fingerprint.
    pedro-avalos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    9fe8e20 View commit details
    Browse the repository at this point in the history
  12. Add checks for architectures.

    NOTE: It seems like x86_64 is the only architecture supported
    everywhere. Nvidia seems to support arm64 in *some* cases, but not a
    lot. Should we only support x86_64, then?
    pedro-avalos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    a854201 View commit details
    Browse the repository at this point in the history
  13. Build executables into bin/ and data/

    This commit changes the gpu-setup script behaviour to build the cuda-samples
    and gpu-burn projects inside the `build/bin` directory, then copy them
    out into the `bin/` and (the necessary data files) into `data/`. For the
    cuda-samples executables to work, they need access to the data files,
    but they do not take the path to the data dir as an argument; to
    circumvent this limitation, I have made wrapper scripts that copy the
    necessary file into the temporary working directory that checkbox
    creates.
    
    Because of the change in build behaviour, the `gpu-setup` script now runs
    mostly as a regular user (to avoid permission issues when cleaning
    directories/builds). The expected operation now is to run `./manage.py build`
    instead of running the `gpu-setup.sh` script itself. This is more inline
    with what is done with the other providers.
    pedro-avalos committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    aca24be View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    29e7d5e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Gracefully exit on unsupported architectures.

    For now, we are limiting the gpgpu tests to x86_64 since nvidia only
    supports x86_64 consistently across distributions/releases.
    pedro-avalos committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    58330a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Add snap build dependencies for gpgpu provider

    This allows the packaging to complete. The gpgpu provider still fails
    due to some issues with setting up the repository, but it does not
    prevent the packaging to complete. We may need to look
    into vendorizing some of the dependencies...
    pedro-avalos committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    a7def84 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Remove use of relative paths in gpu-setup.

    These paths are now resolved to absolute paths to the gpgpu provider's
    subdirectories. I also made sure to clean up left-over data files in the
    wrapper scripts.
    pedro-avalos committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f7616ae View commit details
    Browse the repository at this point in the history
  2. Revert "Add snap build dependencies for gpgpu provider"

    This reverts commit a7def84.
    
    We will revisit properly packaging the gpgpu provider at a later time.
    pedro-avalos committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    659a452 View commit details
    Browse the repository at this point in the history