File cuda_vec_utils.h
File List > muda > tools > cuda_vec_utils.h
Go to the documentation of this file
#pragma once
#include <muda/muda_def.h>
#include <vector_types.h>
namespace muda
{
MUDA_INLINE MUDA_GENERIC int2 operator+(const int2& a, const int2& b)
{
return make_int2(a.x + b.x, a.y + b.y);
}
} // namespace muda