answersLogoWhite

0


Best Answer

If you are using Thrust library, when you use the CUDA related functions of it without naming the extension of the code file "*.cu", the nvcc compiler will complain as stated.

For more information:

http://code.Google.com/p/thrust/issues/detail?id=138

pH0@d - phoad

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is 'Invalid application of sizeof to an incomplete type'?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is force motin energy?

Please type it correctly as the question is incomplete and invalid.


How do you write c plus plus program to display size of the each data type?

The core if it would contain lines like these: printf ("sizeof (char)=%d\n" "sizeof (short)=%d\n" "sizeof (int)=%d\n" "sizeof (long)=%d\n" "sizeof (long long)=%d\n" "sizeof (size_t)=%d\n" "sizeof (void *)=%d\n" "sizeof (ptrdiff_t)=%d\n" "sizeof (va_list)=%d\n" "sizeof (intptr_t)=%d\n" , (int)sizeof (char) , (int)sizeof (short) , (int)sizeof (int) , (int)sizeof (long) , (int)sizeof (long long) , (int)sizeof (size_t) , (int)sizeof (void *) , (int)sizeof (ptrdiff_t) , (int)sizeof (va_list) , (int)sizeof (intptr_t) );


What is size of operator in c language?

it is used to know the memory size of variable of data type. Ex: float a; printf ("sizeof (a)= %d\n", sizeof (a)); or: printf ("sizeof (float)= %d\n", sizeof (float));


Why you call sizeof is a operator not a function in c language?

If sizeof were a function, the following code would work (you can try with any other function):printf ("Function sizeof is located at %p", sizeof);On the other hand, the following code wouldn't work, as functions don't accept a type as parameter:size_t intsize= sizeof (int);


How many bytes does long and short data type reserve?

sizeof (long) and sizeof (short) often 4 or 8 for long, and 2 for short


In c language size of data type int?

printf ("sizeof (int) is %d bytes", (int)sizeof (int)); Most likely it will be 2 or 4.


What is the size in bytes of each type in DOS and UNI?

use sizeof to find out


What is the data type int?

Data-type (short for integer).


Why does pcsx2 on my mac keep saying invalid unpack type?

The PCSX2 on your Mac keeps saying invalid unpack type because it is corrupt.


Which packet type is invalid for OSPF?

its LSR


What is the use of 'size of' in c programming?

The sizeof operator is used to determine the length of its operand (in bytes). The operand must be a type or an object of a type (a variable). The operator is a constant expression and therefore executes at compile time. As such there is no runtime overhead in repeated use of the sizeof operator.


What kind of operating system is Microsoft Excel 2007?

Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.Microsoft Excel 2007 is not an operating system. It is an application. The type of application it is is an electronic spreadsheet.