Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
aacostadiaz committed Jun 19, 2024
1 parent d04b336 commit 8d1f87b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/sycl/pvc/pvc_bfloat_dpas_gemm_cute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ template <typename T>
static void fill_matrix(std::vector<T> &vector)
{
std::generate(std::begin(vector), std::end(vector), [&] {
return static_cast<T>( 2 * (rand() / double(RAND_MAX)) -1 );
return static_cast<T>( (rand() / double(RAND_MAX)) );
});
}

Expand Down Expand Up @@ -357,6 +357,7 @@ int main(int argc, const char** argv)

// Workgroup-level tile
using TileShape = Shape<_32, _256, _32>;
using EpilogueShape = Shape<_32, _64>;

using TiledMma = TiledMMA<MMA_Atom<XE_8x16x16_F32BF16BF16F32_TN>,
Layout<Shape<_1,_1,_1>>,
Expand Down

0 comments on commit 8d1f87b

Please sign in to comment.