Rename Julia package to BabelStream.jl and add compats (#175)

This commit is contained in:
Mosè Giordano 2023-11-24 17:18:43 +00:00 committed by GitHub
parent 8389fc43a3
commit 78ba4ff37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 20 additions and 10 deletions

View File

@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./src/julia/JuliaStream.jl
working-directory: ./src/julia/BabelStream.jl
steps:
- uses: actions/checkout@v4
- name: Setup project

View File

@ -44,7 +44,7 @@ BabelStream is currently implemented in the following parallel programming model
- Futhark
This project also contains implementations in alternative languages with different build systems:
* Julia - [JuliaStream.jl](./src/julia/JuliaStream.jl)
* Julia - [BabelStream.jl](./src/julia/BabelStream.jl)
* Java - [java-stream](./src/java/java-stream)
* Scala - [scala-stream](./src/scala/scala-stream)
* Rust - [rust-stream](./src/rust/rust-stream)

View File

@ -1,4 +1,4 @@
name = "JuliaStream"
name = "BabelStream"
uuid = "1bdcc9b7-f5ed-4705-bc7b-be1b748ec681"
authors = ["Wei-Chen Lin <wl14928@bristol.ac.uk>"]
version = "4.0"
@ -16,4 +16,14 @@ ROCKernels = "7eb9e9f0-4bd3-4c4c-8bef-26bd9629d9b9"
oneAPI = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
[compat]
AMDGPU = "0.4.8"
ArgParse = "1.1.4"
CUDA = "4.0.1"
CUDAKernels = "0.4.7"
Distributed = "1"
ExprTools = "0.1.10"
KernelAbstractions = "0.8.6"
Parameters = "0.12.3"
ROCKernels = "0.3.5"
oneAPI = "1.0.2"
julia = "1.9"

View File

@ -1,4 +1,4 @@
JuliaStream.jl
BabelStream.jl
==============
This is an implementation of BabelStream in Julia which contains the following variants:
@ -35,7 +35,7 @@ A set of reduced dependency projects are available for the following backend and
With Julia on path, run your selected benchmark with:
```shell
> cd JuliaStream.jl
> cd BabelStream.jl
> julia --project=<BACKEND> -e 'import Pkg; Pkg.instantiate()' # only required on first run
> julia --project=<BACKEND> src/<IMPL>Stream.jl
```
@ -43,7 +43,7 @@ With Julia on path, run your selected benchmark with:
For example. to run the CUDA implementation:
```shell
> cd JuliaStream.jl
> cd BabelStream.jl
> julia --project=CUDA -e 'import Pkg; Pkg.instantiate()'
> julia --project=CUDA src/CUDAStream.jl
```
@ -61,7 +61,7 @@ There may be instances where some packages are locked to an older version becaus
To run the benchmark using the top-level project, run the benchmark with:
```shell
> cd JuliaStream.jl
> cd BabelStream.jl
> julia --project -e 'import Pkg; Pkg.instantiate()'
> julia --project src/<IMPL>Stream.jl
```

View File

@ -1,4 +1,4 @@
module JuliaStream
module BabelStream
end
println("Please run benchmarks directly via `julia --project src/<IMPL>Stream.jl`")