Tex CSRs write support added

This commit is contained in:
Krishna Yalamarthy
2021-03-13 22:01:25 -05:00
committed by Blaise Tine
parent 7587876820
commit 72e06ef4fe
14 changed files with 166 additions and 7 deletions

View File

@@ -14,7 +14,9 @@ void kernel_body(int task_id, void* arg) {
unsigned u = 1;
unsigned v = 1;
unsigned t = 1;
// vx_csr_set(_arg->device_ptr, 0, 0xfd0, 0xffd);
uint32_t offset = task_id * count;
for (uint32_t i = 0; i < count; ++i) {