Tex CSRs write support added

This commit is contained in:
Krishna Yalamarthy
2021-03-15 16:41:29 -04:00
committed by Blaise Tine
parent 7587876820
commit 72e06ef4fe
14 changed files with 166 additions and 7 deletions
+3 -1
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) {