Merge branch 'fpga_synthesis' of https://github.gatech.edu/casl/Vortex into fpga_synthesis
This commit is contained in:
@@ -80,7 +80,7 @@ int run_test(vx_device_h device,
|
||||
int errors = 0;
|
||||
auto buf_ptr = (int*)vx_host_ptr(buffer);
|
||||
for (uint32_t i = 0; i < num_points; ++i) {
|
||||
int ref = i * i;
|
||||
int ref = i + i;
|
||||
int cur = buf_ptr[i];
|
||||
if (cur != ref) {
|
||||
++errors;
|
||||
|
||||
Binary file not shown.
@@ -16,7 +16,7 @@ void kernel_body(void* arg) {
|
||||
unsigned i = ((wNo * _arg->num_threads) + tid) * _arg->stride;
|
||||
|
||||
for (unsigned j = 0; j < _arg->stride; ++j) {
|
||||
z[i+j] = x[i+j] * y[i+j];
|
||||
z[i+j] = x[i+j] + y[i+j];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
86035
driver/tests/demo/kernel.dump
Normal file
86035
driver/tests/demo/kernel.dump
Normal file
File diff suppressed because it is too large
Load Diff
BIN
driver/tests/demo/kernel.elf
Executable file
BIN
driver/tests/demo/kernel.elf
Executable file
Binary file not shown.
Reference in New Issue
Block a user