File size: 323 Bytes
9425aed
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
/* Host test stubs — no CUDA driver needed */
#include <stdio.h>
#include <string.h>

#define SOV_ASSERT(cond) do { \
    if (!(cond)) { \
        printf("FAIL %s:%d: %s\n", __FILE__, __LINE__, #cond); \
        return 1; \
    } \
} while(0)

#define SOV_PASS(name) printf("PASS %s\n", (name))