[all-commits] [llvm/llvm-project] 412d78: [mlir][sparse][CRunnerUtils] Add shuffle in CRunne...

Yinying Li via All-commits all-commits at lists.llvm.org
Tue Jan 9 16:46:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 412d784188257f6b8a3748ac9a800002db861181
      https://github.com/llvm/llvm-project/commit/412d784188257f6b8a3748ac9a800002db861181
  Author: Yinying Li <107574043+yinying-lisa-li at users.noreply.github.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
    M mlir/lib/ExecutionEngine/CRunnerUtils.cpp
    A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir

  Log Message:
  -----------
  [mlir][sparse][CRunnerUtils] Add shuffle in CRunnerUtils (#77124)

Shuffle can generate an array of unique and random numbers from 0 to
size-1. It can be used to generate tensors with specified sparsity
level.




More information about the All-commits mailing list