Vortex 2.0 changes:
+ Microarchitecture optimizations + 64-bit support + Xilinx FPGA support + LLVM-16 support + Refactoring and quality control fixes
This commit is contained in:
36
tests/kernel/conform/main.cpp
Normal file
36
tests/kernel/conform/main.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
#include "tests.h"
|
||||
#include <vx_print.h>
|
||||
|
||||
int main() {
|
||||
int errors = 0;
|
||||
|
||||
errors += test_global_memory();
|
||||
|
||||
errors += test_shared_memory();
|
||||
|
||||
errors += test_tmc();
|
||||
|
||||
errors += test_pred();
|
||||
|
||||
errors += test_divergence();
|
||||
|
||||
errors += test_wsapwn();
|
||||
|
||||
errors += test_spawn_tasks();
|
||||
|
||||
errors += test_serial();
|
||||
|
||||
errors += test_tmask();
|
||||
|
||||
errors += test_barrier();
|
||||
|
||||
errors += test_tls();
|
||||
|
||||
if (0 == errors) {
|
||||
PRINTF("Passed!\n");
|
||||
} else {
|
||||
PRINTF("Failed!\n");
|
||||
}
|
||||
|
||||
return errors;
|
||||
}
|
||||
Reference in New Issue
Block a user