IQ.Pilot Prebuilt Release @ 658635c

This commit is contained in:
IQ.Lvbs CI [bot]
2026-07-28 20:43:30 -05:00
commit 14c7cfd019
3707 changed files with 776448 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include "../ops/ops.cuh"
#include "club.cuh"
#include <iostream>
#define CHECK_CUDA_ERROR(val) check((val), #val, __FILE__, __LINE__)
template <typename T>
void check(T err, char const* const func, char const* const file,
int const line)
{
if (err != cudaSuccess)
{
std::cerr << "CUDA Runtime Error at: " << file << ":" << line
<< std::endl;
std::cerr << cudaGetErrorString(err) << " " << func << std::endl;
//std::exit(EXIT_FAILURE);
}
}