sgemm_wg: write simple C=A*A matmul

This commit is contained in:
Hansung Kim
2024-02-12 22:22:28 -08:00
parent a43d5eb1a7
commit 6b420aceb6
3 changed files with 59 additions and 45 deletions

View File

@@ -1,13 +1,15 @@
#ifndef _COMMON_H_
#define _COMMON_H_
#include <cstdint>
#define KERNEL_ARG_DEV_MEM_ADDR 0x7fff0000
#define DEV_SMEM_START_ADDR 0xff000000
typedef struct {
uint32_t num_points;
uint64_t src_addr;
uint64_t dst_addr;
uint32_t matrix_dim;
uint64_t addr_a;
uint64_t addr_c;
} kernel_arg_t;
#endif