Uprzejmie proszę o informację jak pozbyć się błędu:
kod:
Kod: Zaznacz cały
#include<cuda_runtime.h>
__global__ void cuda_hello(void){
printf("Hello World\n");
}
int main()
{cuda_hello<<<1,1>>();
return 0;
}
Kod: Zaznacz cały
#include<cuda_runtime.h>
__global__ void cuda_hello(void){
printf("Hello World\n");
}
int main()
{cuda_hello<<<1,1>>();
return 0;
}
Kod: Zaznacz cały
{
cuda_hello<<<1,1>>>();
//....
}
Kod: Zaznacz cały
1>------ Build started: Project: cuda hello, Configuration: Debug x64 ------
1>G:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 8.0.targets(168,9): error MSB4002: There was a failure retrieving the attributes for parameters in the “SanitizePaths” task. Could not load type ‘Microsoft.Build.Framework.IBuildEngine4’ from assembly ‘Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.
1>G:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 8.0.targets(168,9): error MSB4060: The “SanitizePaths” task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========