minor update

This commit is contained in:
Blaise Tine
2021-06-28 05:49:21 -04:00
parent f73eb828af
commit 4c02339fe4
7 changed files with 96962 additions and 945 deletions

View File

@@ -1,6 +1,7 @@
#include <stdint.h>
#include <vx_intrinsics.h>
#include <vx_spawn.h>
#include <vx_print.h>
#include "common.h"
// Parallel Selection sort
@@ -33,6 +34,7 @@ void kernel_body(int task_id, void* arg) {
pos += __smaller(i, task_id, cur_value, ref_value);
}
dst_ptr[pos] = ref_value;
vx_printf("taskid=%d, pos=%d, value=%d\n", task_id, pos, ref_value);
}
void main() {