MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim_cuda_rt.c File Reference
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for mim_cuda_rt.c:

Go to the source code of this file.

Functions

void mim_cu_check (int result)
 Aborts the program if a CUDA Driver API call returned a non-zero CUresult.

Function Documentation

◆ mim_cu_check()

void mim_cu_check ( int result)

Aborts the program if a CUDA Driver API call returned a non-zero CUresult.

The backend emits a call to this after every driver call instead of open-coding error handling.

Definition at line 16 of file mim_cuda_rt.c.