Skip to content

Commit

Permalink
rm redundant run
Browse files Browse the repository at this point in the history
  • Loading branch information
newling committed Jun 14, 2024
1 parent 5e3e4cf commit 7c67e9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 3 additions & 7 deletions build_tools/ci/matmul_ukernel_vs_codegen_benchmark/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,9 @@ ROOT_DIR="$(cd $THIS_DIR/../.. && pwd)"
source $XRT_DIR/setup.sh
export XRT_HACK_UNSECURE_LOADING_XCLBIN=1

# M=2048
# K=4096
# N=2048

M=256
K=1024
N=256
M=1024
K=4096
N=1024


# Create a file ${OUTPUT_DIR}/generated_linalg_matmul.mlir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ int main(int argc, const char *argv[]) {
xrt::bo(device, nBytesC, XRT_BO_FLAGS_HOST_ONLY, kernel.group_id(5));

unsigned int opcode = 3;
auto run = kernel(opcode, bo_instr, instr_v.size(), bo_a, bo_b, bo_c);

void *bufInstr = bo_instr.map<void *>();
memcpy(bufInstr, instr_v.data(), instr_v.size() * sizeof(int32_t));
Expand Down

0 comments on commit 7c67e9b

Please sign in to comment.