fixes: texture unit mem access sometimes going to smem, bilinear texture filtering; new: cache req_id,
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <vx_print.h>
|
||||
|
||||
const int Num = 9;
|
||||
const int Ans = 34;
|
||||
@@ -14,12 +15,12 @@ int main() {
|
||||
|
||||
int fib = fibonacci(Num);
|
||||
|
||||
printf("fibonacci(%d) = %d\n", Num, fib);
|
||||
vx_printf("fibonacci(%d) = %d\n", Num, fib);
|
||||
|
||||
if (fib == Ans) {
|
||||
printf("Passed!\n");
|
||||
vx_printf("Passed!\n");
|
||||
} else {
|
||||
printf("Failed! value=%d, expected=%d\n", fib, Ans);
|
||||
vx_printf("Failed! value=%d, expected=%d\n", fib, Ans);
|
||||
errors = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <vx_print.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello World!\n");
|
||||
vx_printf("Hello World!\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user