From 515f9c26f685767ea83634c0784f9b5fcc271e47 Mon Sep 17 00:00:00 2001 From: Github action runner Date: Fri, 15 May 2026 10:16:46 -0500 Subject: [PATCH] One backend per benchmark instantiation --- .github/workflows/test.yml | 12 ++++++------ benchmark/current/Project.toml | 3 --- benchmark/main/Project.toml | 3 --- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 221a1d57..cd07a82b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -201,8 +201,8 @@ jobs: - name: Instantiate working-directory: benchmark run: | - julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' - julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' + julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("CUDA")' + julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("CUDA")' - name: Run benchmark (main) working-directory: benchmark run: julia --startup-file=no runbenchmark.jl main cuda @@ -226,8 +226,8 @@ jobs: - name: Instantiate working-directory: benchmark run: | - julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' - julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' + julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("AMDGPU")' + julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("AMDGPU")' - name: Run benchmark (main) working-directory: benchmark run: julia --startup-file=no runbenchmark.jl main amdgpu @@ -254,8 +254,8 @@ jobs: - name: Instantiate working-directory: benchmark run: | - julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' - julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate()' + julia --startup-file=no --project=main -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("oneAPI")' + julia --startup-file=no --project=current -e 'using Pkg; Pkg.Registry.update(); Pkg.instantiate(); Pkg.add("oneAPI")' - name: Run benchmark (main) working-directory: benchmark run: julia --startup-file=no runbenchmark.jl main oneapi diff --git a/benchmark/current/Project.toml b/benchmark/current/Project.toml index 0191dbf6..96f8f82e 100644 --- a/benchmark/current/Project.toml +++ b/benchmark/current/Project.toml @@ -1,13 +1,10 @@ [deps] -AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" -CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" ExaModels = "1037b233-b668-4ce9-9b63-f9f681f55dd2" ExaPowerIO = "14903efe-9500-4d7f-a589-7ab7e15da6de" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b" [sources] ExaModels = {path="../.."} diff --git a/benchmark/main/Project.toml b/benchmark/main/Project.toml index f8b8e8f9..41174e57 100644 --- a/benchmark/main/Project.toml +++ b/benchmark/main/Project.toml @@ -1,13 +1,10 @@ [deps] -AMDGPU = "21141c5a-9bdb-4563-92ae-f87d6854732e" BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" -CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" ExaModels = "1037b233-b668-4ce9-9b63-f9f681f55dd2" ExaPowerIO = "14903efe-9500-4d7f-a589-7ab7e15da6de" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b" [sources] ExaModels = {rev = "main", url = "https://github.com/exanauts/ExaModels.jl"}