#pragma once

#include <cuda.h>
#include "cuda/cudautil.h"

namespace idaten {
	void initCuda()
	{
		checkCudaErrors(cuInit(0));
	}
}
#pragma once

#include <cuda.h>
#include "cuda/cudautil.h"

namespace idaten {
	inline void initCuda()
	{
		checkCudaErrors(cuInit(0));
	}
}
Fix a bug that not inlined.
Fix a bug that not inlined.
