Skip to content

Commit

Permalink
Merge branch 'main' into barrier-tests-from-lift
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneslenfers committed Feb 17, 2022
2 parents e621de7 + 6f5aded commit 693493b
Show file tree
Hide file tree
Showing 13 changed files with 1,836 additions and 885 deletions.
2 changes: 1 addition & 1 deletion runtime/clap_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

LD_PRELOAD=./lib/clap/build/libClap.so $1
LD_PRELOAD=./lib/clap/build/libClap.so "$1" "$2"
7 changes: 4 additions & 3 deletions src/main/scala/apps/mm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ object mm {
))(zip(p6)(x._1))
)
))(mapSeq(mapSeq(id))(generate(fun(_ => generate(fun(_ => lf32(0.0f)))))) :: (v4`.`v3`.`f32)) |> //
mapSeq(asScalar o mapSeq(id) o asVector(vw)) |>
transpose // v3.v4.f
mapSeq(asScalar o mapSeq(id) o asVector(vw)) |>
transpose // v3.v4.f
)) |> join |> transpose
)) |> join
))
Expand Down Expand Up @@ -107,7 +107,8 @@ object mm {
mapWorkGroup(0)(fun(p3 =>
zip(p2)(p3) |> // O'.(v8.v5.f x v8.v7.f)
// FIXME: there seems to be a bug in AdjustArraySizesForAllocations
oclReduceSeq(AddressSpace.Private)(fun((p13, p14) =>
// oclReduceSeq(AddressSpace.Private)(fun((p13, p14) =>
oclReduceSeq(AddressSpace.Local)(fun((p13, p14) =>
// (v5/^v4).(v7/^v3).v4.v3.f x (v8.v5.f x v8.v7.f)
let (toLocal(makePair(
p14._1 |> join |> split(v6) |> // ((v8 x v5) /^ v6).v6.f
Expand Down
Loading

0 comments on commit 693493b

Please sign in to comment.