cuda - Cannot overload make_uint4 function -


I am trying to overload make_uint4 with the following type:

  Namespace A {Namespace B {inline __host__ __Device _ uint4 make_uint4 (uint2 a, uint2b) {return make_uint4 (by AX, AE, BX,); }}}   

But when I try to compile it, NVCC returns an error:

  Error: replace with "unsigned int" No suitable constructor exists for the "UIT 2" error: There is no suitable constructor present for "UIT 2" error from "unsigned": many logic in function call   

All these errors are

I have a partial copy on VS Was able to obtain the mastery of 2010 and CUDA 4.0 (compiler had corrected the code, but Intellence has flagged the error you are seeing). Try the following:

  #include "vector_functions.h" inline __host__ __device__ uint4 make_uint4 (uint2 a, uint2b) {return :: make_uint4 (a.x, a.y, b.x, b.y); }   

This is for me to decide.

Comments