C2059: syntax error : '<'

I am trying to implement a very simple kernel, but being stuck because of this error. Using simple C and CUDA code in Visual Studio 2015 version using CUDA 8.0 on GTX 1080.

Note, I am tried all possible combinations and my file is named as “.cu” file.

Any quick suggestions, would be appreciated.

Also Note,

Other simple project like asking GPU to print Hello World using multiple tread works fine…
In other programs the kernel <<<>>> works fine. I am trying to add-on to that file only, keeping the settings unchanged. Don’t know how to resolve the current problem error = 2059: syntax error: ‘<’…?

reduce your file down to the smallest version that still reproduces the error.

Then paste that here.
Also paste the full output from the VS output console that results from you compiling the file

Okay, Here is my (Project)code which is in 3 different files(nixHead.h, nixUtil.cu, nixMain.cu). I have removed many other functions and now only the remaining code is left which still gives the error.

Error:

Severity Code Description Project File Line Suppression State
Error (active) expected an expression Test412 c:\Users\ns76685w\Desktop\Test412\Test412\nixUtil.cu 33

Severity Code Description Project File Line Suppression State
Error C2059 syntax error: ‘<’ Test412 c:\users\ns76685w\desktop\test412\test412\nixutil.cu 33

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

nixHead.h is as follows:

#include<cuda_runtime.h>

#ifndef NIKHIL
#define NIKHIL

#define BLOCK_SIZE 4
#define N = 10

int numElementsRand = 10, numElementsMat = 100, numElementsBestCost = 100;
int sizeRand = numElementsMat * sizeof(int);
int sizeMat = numElementsMat * sizeof(int);
int sizeBestCost = numElementsBestCost * sizeof(int);

void HC(int *h_A, int *h_B, int *h_C, int *h_bestCost);

global void cutSizeKernel(int *p, int *adj, int *d_bestCost);

#endif

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

nixUtil.cu is as follows:

#include <stdlib.h>
#include <stdio.h>
#include <cuda_runtime.h>
#include <math.h>
#include “device_launch_parameters.h”
#include “nixHead.h”
#include <time.h>

void HC(int *h_A, int *h_B, int *h_C, int *h_bestCost) {

//Load A, B, C in Device Memeory

// Malloc device global memory
int *d_A, *d_B, *d_C, *d_bestCost;
cudaMalloc((void **)&d_A, sizeRand);
cudaMalloc((void **)&d_B, sizeRand);
cudaMalloc((void **)&d_C, sizeMat);
cudaMalloc((void**)&d_bestCost, sizeBestCost);

// transfer data from host to device
cudaMemcpy(d_A, h_A, sizeRand, cudaMemcpyHostToDevice);
cudaMemcpy(d_B, h_B, sizeRand, cudaMemcpyHostToDevice);
cudaMemcpy(d_C, h_C, sizeMat, cudaMemcpyHostToDevice);







cutSizeKernel <<<1, 1 >> > (d_A, d_C, d_bestCost);
cudaDeviceSynchronize();


// Transfer output from device memory to Host
cudaMemcpy(h_bestCost, d_bestCost, sizeBestCost, cudaMemcpyDeviceToHost);

// free device global memory
cudaFree(d_A);
cudaFree(d_B);
cudaFree(d_C);

}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

nixMain.cu is as follows:

#include “nixHead.h”
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <cuda_runtime.h>
#include <math.h>

int main() {

//Malloc Host memory  
int *h_A = (int *)malloc(sizeRand);
int *h_B = (int *)malloc(sizeRand);
int *h_C = (int *)malloc(sizeMat);
int *h_bestCost = (int *)malloc(sizeBestCost);

// Verify that allocations succeeded
if (h_A == NULL || h_B == NULL || h_C == NULL || h_bestCost == NULL)
{
	fprintf(stderr, "Failed to allocate host vectors!\n");
	exit(EXIT_FAILURE);
}


//Call the Function()
void HC(int *h_A, int *h_B, int *h_C, int *h_bestCost);
		
	return 0;
}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Do you get this error when you compile or is this an intellisense error. please provide the console output from a compile command

I am getting this error when I am trying to build the project in Visual Studio 2015.
Tell me the detailed instructions that you want me to execute, inorder to get you the console output from the command line…

There are no syntax errors in the code you have posted. I can only assume you are mistakenly compiling this file with the host compiler instead of nvcc

Of course its impossible to confirm this using the output you have shown, which is coming from a VS 2015 error list. It is not showing the actual compiler commands and output. If we could look at the actual compiler commands as they are issued by VS, then we could see which compiler is generating the error/output.

This output would be in the VS output window, and if you google around you can find out how to show this when the compiler is running. This article gives more info about it, specific to VS2015:

https://elbruno.com/2015/01/06/vs2015-howto-show-more-detail-in-a-local-build-in-the-visual-studio-ide/

After following your instructions the output of the compile window in the visual studio is as below:

1>------ Build started: Project: Test412, Configuration: Debug Win32 ------
1>Build started 5/5/2017 7:21:02 PM.
1> 1>
1>Building with tools version “14.0”.
1> 1>
1>Target “_CheckForInvalidConfigurationAndPlatform” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (entry point):
1> Task “Error” skipped, due to false condition; ( ‘(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ). 1> Task "Warning" skipped, due to false condition; ( '(_InvalidConfigurationWarning)’ == ‘true’ ) was evaluated as ( ‘’ == ‘true’ ).
1> Using “Message” task from assembly “Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.
1> Task “Message”
1> Configuration=Debug
1> Done executing task “Message”.
1> Task “Message”
1> Platform=Win32
1> Done executing task “Message”.
1> Task “Error” skipped, due to false condition; (’(OutDir)' != '' and !HasTrailingSlash('(OutDir)’)) was evaluated as (‘C:\Users\ns76685w\Desktop\Test412\Debug’ != ‘’ and !HasTrailingSlash(‘C:\Users\ns76685w\Desktop\Test412\Debug’)).
1> Task “Error” skipped, due to false condition; (’(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('(BaseIntermediateOutputPath)’)) was evaluated as (‘obj’ != ‘’ and !HasTrailingSlash(‘obj’)).
1> Task “Error” skipped, due to false condition; (’(IntermediateOutputPath)' != '' and !HasTrailingSlash('(IntermediateOutputPath)’)) was evaluated as (‘Debug’ != ‘’ and !HasTrailingSlash(‘Debug’)).
1> 1>
1>Done building target “_CheckForInvalidConfigurationAndPlatform” in project “Test412.vcxproj”.
1> 1>
1>Target “_PrepareForBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “Build” depends on it):
1> Task “CreateItem” skipped, due to false condition; (’%(CustomBuild.IncludeFileToTool)’!=’’) was evaluated as (’’!=’’).
1> 1>
1>Done building target “_PrepareForBuild” in project “Test412.vcxproj”.
1> 1>
1>Target “_PrepareForReferenceResolution” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ResolveReferences” depends on it):
1> Task “Message” skipped, due to false condition; (’(_REFERENCE_DEBUG)'=='true') was evaluated as (''=='true'). 1> 1> 1>Done building target "_PrepareForReferenceResolution" in project "Test412.vcxproj". 1> Target "ComputeCrtSDKReference" skipped, due to false condition; ('@(ClCompile)'!='' and '(WindowsAppContainer)’==‘true’ and ‘(UseCrtSDKReference)' != 'false') was evaluated as ('nixUtil.cu;nixMain.cu'!='' and 'false'=='true' and '' != 'false'). 1> 1> 1>Target "BeforeResolveReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveReferences" depends on it): 1> 1> 1>Done building target "BeforeResolveReferences" in project "Test412.vcxproj". 1> 1> 1>Target "AssignProjectConfiguration" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveReferences" depends on it): 1> Using "AssignProjectConfiguration" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "AssignProjectConfiguration" 1> Done executing task "AssignProjectConfiguration". 1> 1> 1>Done building target "AssignProjectConfiguration" in project "Test412.vcxproj". 1> Target "AssignProjectConfiguration" skipped. Previously built successfully. 1> 1> 1>Target "_SplitProjectReferencesByFileExistence" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveProjectReferences" depends on it): 1> Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('(BuildingInsideVisualStudio)’==‘true’ and ‘@(ProjectReferenceWithConfiguration)’!=’’) was evaluated as (‘true’==‘true’ and ‘’!=’’).
1> 1>
1>Done building target “_SplitProjectReferencesByFileExistence” in project “Test412.vcxproj”.
1> Target “_RemoveNameMetadataFromProjectReferenceItems” skipped, due to false condition; (’@(ProjectReference)’!=’’) was evaluated as (’’!=’’).
1> 1>
1>Target “ResolveProjectReferences” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ResolveReferences” depends on it):
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and (’(BuildingInsideVisualStudio)' == 'true' or '(BuildProjectReferences)’ != ‘true’) and ‘(VisualStudioVersion)' != '10.0' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and ('true' == 'true' or 'true' != 'true') and '14.0' != '10.0' and '' != ''). 1> Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and ('(BuildingInsideVisualStudio)’ == ‘true’ or ‘(BuildProjectReferences)' != 'true') and '(VisualStudioVersion)’ == ‘10.0’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and (‘true’ == ‘true’ or ‘true’ != ‘true’) and ‘14.0’ == ‘10.0’ and ‘’ != ‘’).
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘(BuildingInsideVisualStudio)' != 'true' and '(BuildProjectReferences)’ == ‘true’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and ‘true’ != ‘true’ and ‘true’ == ‘true’ and ‘’ != ‘’).
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘(BuildingProject)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and 'true' == 'true' and '' != ''). 1> Task "Warning" skipped, due to false condition; ('@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '') was evaluated as ('' != '' and '' != ''). 1> 1> 1>Done building target "ResolveProjectReferences" in project "Test412.vcxproj". 1> Target "FindInvalidProjectReferences" skipped, due to false condition; ('(FindInvalidProjectReferences)’ == ‘true’) was evaluated as (’’ == ‘true’).
1> Target “ResolveNativeReferences” skipped, due to false condition; (’@(NativeReference)’!=’’) was evaluated as (’’!=’’).
1> Target “_PrepareForReferenceResolution” skipped. Previously built successfully.
1> 1>
1>Target “GetFrameworkPaths” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.NetFramework.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ResolveAssemblyReferences” depends on it):
1> 1>
1>Done building target “GetFrameworkPaths” in project “Test412.vcxproj”.
1> Target “GetWinFXPath” skipped, due to false condition; ((’@(Page)’ != ‘’ or ‘@(ApplicationDefinition)’ != ‘’ or ‘@(Resource)’ != ‘’) and (’(GetWinFXNativePath)' != '' or '(GetWinFXWoWPath)’ != ‘’ )) was evaluated as ((’’ != ‘’ or ‘’ != ‘’ or ‘’ != ‘’) and (’’ != ‘’ or ‘’ != ‘’ )).
1> 1>
1>Target “GetReferenceAssemblyPaths” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ResolveAssemblyReferences” depends on it):
1> Task “GetReferenceAssemblyPaths” skipped, due to false condition; (’(TargetFrameworkMoniker)' != '' and ('(_TargetFrameworkDirectories)’ == ‘’ or ‘(_FullFrameworkReferenceAssemblyPaths)' == '')) was evaluated as ('' != '' and ('C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0' == '' or 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0' == '')). 1> 1> 1>Done building target "GetReferenceAssemblyPaths" in project "Test412.vcxproj". 1> 1> 1>Target "SetBuildDefaultEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Current.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "PrepareForBuild" depends on it): 1> Using "SetEnv" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Build.CppTasks.Common.dll". 1> Task "SetEnv" 1> PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\MSBuild\14.0\bin\;C:\Windows\Microsoft.NET\Framework\v4.0.30319\;C:\Windows\SysWow64;;c:\program files (x86)\microsoft visual studio 14.0\common7\ide;C:\Program Files (x86)\CodeXL\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\Program Files\Microsoft HPC Pack 2012\Bin\;C:\Program Files (x86)\IntelSWTools\Trace Analyzer and Collector\9.1.2.024\bin;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.3.207\windows\mpi\intel64\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86_64;C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86;C:\Users\ns76685w\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;c:\toolkits\mingw-w64-5.4.0\mingw64\bin;C:\cygwin64\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A;C:\Program Files (x86)\IntelSWTools\Trace Analyzer and Collector\9.1.2.024\dll;C:\Users\ns76685w\AppData\Roaming\npm; 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\lib;;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86;;;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Lib\um\x86 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\lib;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib; 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include;;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt;;;C:\Program Files (x86)\Windows Kits\8.1\Include\um;C:\Program Files (x86)\Windows Kits\8.1\Include\shared;C:\Program Files (x86)\Windows Kits\8.1\Include\winrt;; 1> Done executing task "SetEnv". 1> 1> 1>Done building target "SetBuildDefaultEnvironmentVariables" in project "Test412.vcxproj". 1> Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ != ‘’ and ‘’ != ‘true’).
1> 1>
1>Target “GetResolvedWinMD” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “PrepareForBuild” depends on it):
1> 1>
1>Done building target “GetResolvedWinMD” in project “Test412.vcxproj”.
1> 1>
1>Target “PlatformPrepareForBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “PrepareForBuild” depends on it):
1> Task “VCMessage” skipped, due to false condition; (’(_Error64bitToolsNotInstalled)' == 'true') was evaluated as ('' == 'true'). 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(_ToolsetFound)' != 'true' and '(PlatformToolset)’ == ‘v110’) was evaluated as (’’!=‘true’ and ‘true’ != ‘true’ and ‘v140’ == ‘v110’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(_ToolsetFound)’ != ‘true’ and ‘(PlatformToolset)' == 'v100') was evaluated as (''!='true' and 'true' != 'true' and 'v140' == 'v100'). 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(_ToolsetFound)' != 'true' and '(PlatformToolset)’ == ‘v90’) was evaluated as (’’!=‘true’ and ‘true’ != ‘true’ and ‘v140’ == ‘v90’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(_ToolsetFound)’ != ‘true’ and ‘(PlatformToolset)' != 'v90' and '(PlatformToolset)’ != ‘v100’ and ‘(PlatformToolset)' != 'v110') was evaluated as (''!='true' and 'true' != 'true' and 'v140' != 'v90' and 'v140' != 'v100' and 'v140' != 'v110'). 1> 1> 1>Done building target "PlatformPrepareForBuild" in project "Test412.vcxproj". 1> 1> 1>Target "Desktop_PlatformPrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "PrepareForBuild" depends on it): 1> Task "VCMessage" skipped, due to false condition; ((MissingSDKProps) == ‘true’) was evaluated as ( == ‘true’).
1> 1>
1>Done building target “Desktop_PlatformPrepareForBuild” in project “Test412.vcxproj”.
1> Target “GetFrameworkPaths” skipped. Previously built successfully.
1> Target “GetReferenceAssemblyPaths” skipped. Previously built successfully.
1> Target “AssignLinkMetadata” skipped, due to false condition; ( ‘(SynthesizeLinkMetadata)' == 'true' ) was evaluated as ( '' == 'true' ). 1> 1> 1>Target "SetCABuildNativeEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "PrepareForBuild" depends on it): 1> Initializing task factory "CodeTaskFactory" from assembly "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.Core.dll". 1> Using "SetEnvironmentVariable" task from the task factory "Code Task Factory". 1> Task "SetEnvironmentVariable" 1> Done executing task "SetEnvironmentVariable". 1> 1> 1>Done building target "SetCABuildNativeEnvironmentVariables" in project "Test412.vcxproj". 1> 1> 1>Target "PrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’ != ‘true’ and ‘(ConfigurationPlatformExists)' != 'true') was evaluated as ('' != 'true' and 'true' != 'true'). 1> Using "MakeDir" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "MakeDir" 1> Done executing task "MakeDir". 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(WindowsAppContainer)'=='true' and '(ConfigurationType)’!=‘Application’ and ‘(ConfigurationType)'!='DynamicLibrary' and '(ConfigurationType)’!=‘StaticLibrary’) was evaluated as (’’!=‘true’ and ‘false’==‘true’ and ‘Application’!=‘Application’ and ‘Application’!=‘DynamicLibrary’ and ‘Application’!=‘StaticLibrary’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(VCInstallDir)’==’’ and ‘(UseEnv)' != 'true' and ('(TargetFrameworkVersion)’==‘v3.5’ or ‘(TargetFrameworkVersion)'=='v3.0' or '(TargetFrameworkVersion)’==‘v2.0’ )) was evaluated as (’’!=‘true’ and ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’ and (‘v4.0’==‘v3.5’ or ‘v4.0’==‘v3.0’ or ‘v4.0’==‘v2.0’ )).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(VCInstallDir)’==’’ and ‘(UseEnv)' != 'true' and '(PlatformToolset)’==‘v90’) was evaluated as (’’!=‘true’ and ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’ and ‘v140’==‘v90’).
1> Task “VCMessage” skipped, due to false condition; (’(VCInstallDir)'=='' and '(UseEnv)’ != ‘true’) was evaluated as (‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(WindowsSDKDir)'=='' and '(UseEnv)’ != ‘true’) was evaluated as (‘C:\Program Files (x86)\Windows Kits\8.1’==’’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IntDirTrailingSlashWarning)'=='true') was evaluated as (''=='true'). 1> Task "VCMessage" skipped, due to false condition; ('(OutDirTrailingSlashWarning)’==‘true’) was evaluated as (’’==‘true’).
1> Task “VCMessage” skipped, due to false condition; (’%(CompatibilityIssues.Identity)’ != ‘’ and ‘(DesignTimeBuild)'!='true') was evaluated as ('' != '' and ''!='true'). 1> Task "VCMessage" skipped, due to false condition; ('(_MBCS_Using)’ == ‘true’ and ‘(_MBCS_Installed)' != 'true' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ == ‘true’ and ‘’ != ‘true’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IgnoreWarnIntDirSharingDetected)' != 'true' and '(IntDirSharingDetected)’ == ‘true’) was evaluated as (’’ != ‘true’ and ‘’ == ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IgnoreWarnIntDirInTempDetected)' != 'true' and ('(_IntDirFullpath.StartsWith((Tmp), true, null))' == 'true' or '(_IntDirFullpath.StartsWith((Temp), true, null))' == 'true' or '(_OutDirFullpath.StartsWith((Tmp), true, null))' == 'true' or '(_OutDirFullpath.StartsWith((Temp), true, null))' == 'true')) was evaluated as ('' != 'true' and ('False' == 'true' or 'False' == 'true' or 'False' == 'true' or 'False' == 'true')). 1> Task "MakeDir" 1> Done executing task "MakeDir". 1> 1> 1>Done building target "PrepareForBuild" in project "Test412.vcxproj". 1> Target "_PrepareForReferenceResolution" skipped. Previously built successfully. 1> Target "ComputeCrtSDKReference" skipped, due to false condition; ('@(ClCompile)'!='' and '(WindowsAppContainer)’==‘true’ and ‘(UseCrtSDKReference)' != 'false') was evaluated as ('nixUtil.cu;nixMain.cu'!='' and 'false'=='true' and '' != 'false'). 1> 1> 1>Target "GetInstalledSDKLocations" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveSDKReferences" depends on it): 1> Task "GetInstalledSDKLocations" skipped, due to false condition; ('@(SDKReference)' != '') was evaluated as ('' != ''). 1> Task "GetInstalledSDKLocations" skipped, due to false condition; ('@(SDKReference)' != '' and '(SupportWindows81SDKs)’ == ‘true’ and ‘(TargetPlatformIdentifierWindows81)' != '' and '(TargetPlatformVersionWindows81)’ != ‘’) was evaluated as (’’ != ‘’ and ‘’ == ‘true’ and ‘’ != ‘’ and ‘’ != ‘’).
1> Task “GetInstalledSDKLocations” skipped, due to false condition; (’@(SDKReference)’ != ‘’ and ‘(SupportWindowsPhone81SDKs)' == 'true' and '(TargetPlatformIdentifierWindowsPhone81)’ != ‘’ and ‘(TargetPlatformVersionWindowsPhone81)' != '') was evaluated as ('' != '' and '' == 'true' and '' != '' and '' != ''). 1> 1> 1>Done building target "GetInstalledSDKLocations" in project "Test412.vcxproj". 1> 1> 1>Target "ModifyUnitTestPlatformVersion" in file "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportBefore\Windows.8.1.UT_SDKReference.props" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveSDKReferences" depends on it): 1> 1> 1>Done building target "ModifyUnitTestPlatformVersion" in project "Test412.vcxproj". 1> 1> 1>Target "ResolveSDKReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "ResolveSDKReference" skipped, due to false condition; ('@(SDKReference)'!='') was evaluated as (''!=''). 1> 1> 1>Done building target "ResolveSDKReferences" in project "Test412.vcxproj". 1> Target "ResolveSDKReferences" skipped. Previously built successfully. 1> 1> 1>Target "ExpandSDKReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "GetSDKReferenceFiles" skipped, due to false condition; ('@(ResolvedSDKReference)'!='') was evaluated as (''!=''). 1> 1> 1>Done building target "ExpandSDKReferences" in project "Test412.vcxproj". 1> Target "ResolveNuGetPackageAssets" skipped, due to false condition; ('(ResolveNuGetPackages)’ == ‘true’ and exists(’(ProjectLockFile)')) was evaluated as ('true' == 'true' and exists('project.lock.json')). 1> 1> 1>Target "ResolveAssemblyReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "ResolveReferences" depends on it): 1> Task "ResolveAssemblyReference" skipped, due to false condition; ('@(Reference)'!='' or '@(_ResolvedProjectReferencePaths)'!='' or '@(_ExplicitReference)' != '') was evaluated as (''!='' or ''!='' or '' != ''). 1> 1> 1>Done building target "ResolveAssemblyReferences" in project "Test412.vcxproj". 1> Target "GenerateBindingRedirects" skipped, due to false condition; ('(AutoGenerateBindingRedirects)’ == ‘true’ and ‘(GenerateBindingRedirectsOutputType)' == 'true') was evaluated as ('' == 'true' and 'true' == 'true'). 1> Target "GenerateBindingRedirectsUpdateAppConfig" skipped, due to false condition; ('(AutoGenerateBindingRedirects)’ == ‘true’ and ‘(GenerateBindingRedirectsOutputType)' == 'true' and Exists('(_GenerateBindingRedirectsIntermediateAppConfig)’)) was evaluated as (’’ == ‘true’ and ‘true’ == ‘true’ and Exists(‘Debug\Test412.vcxproj.Test412.exe.config’)).
1> Target “ResolveComReferences” skipped, due to false condition; (’@(COMReference)’!=’’ or ‘@(COMFileReference)’!=’’) was evaluated as (’’!=’’ or ‘’!=’’).
1> 1>
1>Target “AfterResolveReferences” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ResolveReferences” depends on it):
1> 1>
1>Done building target “AfterResolveReferences” in project “Test412.vcxproj”.
1> Target “ImplicitlyExpandDesignTimeFacades” skipped, due to false condition; (’(ImplicitlyExpandDesignTimeFacades)' == 'true') was evaluated as ('' == 'true'). 1> Target "ResolveTestReferences" skipped, due to false condition; ('@(Shadow)'!='') was evaluated as (''!=''). 1> 1> 1>Target "ResolveReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "Build" depends on it): 1> 1> 1>Done building target "ResolveReferences" in project "Test412.vcxproj". 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> 1> 1>Target "InitializeBuildStatus" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "Build" depends on it): 1> Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "ReadLinesFromFile" 1> Done executing task "ReadLinesFromFile". 1> Using "WriteLinesToFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "WriteLinesToFile" 1> Done executing task "WriteLinesToFile". 1> Using "Touch" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "Touch" 1> Touching "Debug\Test412.tlog\unsuccessfulbuild". 1> Done executing task "Touch". 1> 1> 1>Done building target "InitializeBuildStatus" in project "Test412.vcxproj". 1> Target "AssignProjectConfiguration" skipped. Previously built successfully. 1> Target "_SplitProjectReferencesByFileExistence" skipped. Previously built successfully. 1> 1> 1>Target "BuildGenerateSourcesTraverse" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "BuildGenerateSources" depends on it): 1> Task "MSBuild" skipped, due to false condition; ('(BuildPassReferences)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’ and ‘%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and ‘’ != ‘’ and ‘’ == ‘true’).
1> 1>
1>Done building target “BuildGenerateSourcesTraverse” in project “Test412.vcxproj”.
1> Target “PrepareForBuild” skipped. Previously built successfully.
1> Target “ResolveReferences” skipped. Previously built successfully.
1> 1>
1>Target “BeforeBuildGenerateSources” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> 1>
1>Done building target “BeforeBuildGenerateSources” in project “Test412.vcxproj”.
1> 1>
1>Target “PreBuildEvent” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> Task “Message” skipped, due to false condition; (’%(PreBuildEvent.Message)’ != ‘’ and ‘%(PreBuildEvent.Command)’ != ‘’) was evaluated as (’’ != ‘’ and ‘’ != ‘’).
1> Task “Exec” skipped, due to false condition; (’%(PreBuildEvent.Command)’ != ‘’) was evaluated as (’’ != ‘’).
1> 1>
1>Done building target “PreBuildEvent” in project “Test412.vcxproj”.
1> Target “CustomBuild” skipped, due to false condition; (’@(CustomBuild)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxExport” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxCompile” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “CudaBuild” skipped, due to false condition; (’@(CudaCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “Xsd” skipped, due to false condition; (’@(Xsd)’ != ‘’) was evaluated as (’’ != ‘’).
1> 1>
1>Target “_Xsd” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> 1>
1>Done building target “_Xsd” in project “Test412.vcxproj”.
1> 1>
1>Target “MakeDirsForMidl” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_Midl” depends on it):
1> Task “Makedir”
1> Done executing task “Makedir”.
1> 1>
1>Done building target “MakeDirsForMidl” in project “Test412.vcxproj”.
1> Target “Midl” skipped, due to false condition; (’@(Midl)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “CustomBuild” skipped, due to false condition; (’@(CustomBuild)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxExport” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxCompile” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “CudaBuild” skipped, due to false condition; (’@(CudaCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> 1>
1>Target “ComputeMIDLGeneratedCompileInputs” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_Midl” depends on it):
1> 1>
1>Done building target “ComputeMIDLGeneratedCompileInputs” in project “Test412.vcxproj”.
1> 1>
1>Target “AfterMidl” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_Midl” depends on it):
1> 1>
1>Done building target “AfterMidl” in project “Test412.vcxproj”.
1> 1>
1>Target “_Midl” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> 1>
1>Done building target “_Midl” in project “Test412.vcxproj”.
1> 1>
1>Target “AfterBuildGenerateSources” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> 1>
1>Done building target “AfterBuildGenerateSources” in project “Test412.vcxproj”.
1> 1>
1>Target “AfterBuildGenerateSourcesEvent” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> 1>
1>Done building target “AfterBuildGenerateSourcesEvent” in project “Test412.vcxproj”.
1> 1>
1>Target “_BuildGenerateSourcesAction” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “BuildGenerateSources” depends on it):
1> 1>
1>Done building target “_BuildGenerateSourcesAction” in project “Test412.vcxproj”.
1> 1>
1>Target “BuildGenerateSources” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “Build” depends on it):
1> 1>
1>Done building target “BuildGenerateSources” in project “Test412.vcxproj”.
1> Target “AssignProjectConfiguration” skipped. Previously built successfully.
1> Target “_SplitProjectReferencesByFileExistence” skipped. Previously built successfully.
1> 1>
1>Target “BuildCompileTraverse” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “BuildCompile” depends on it):
1> Task “MSBuild” skipped, due to false condition; (’(BuildPassReferences)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceExistent)' != '' and '%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true') was evaluated as ('' == 'true' and '' != '' and '' != '' and '' == 'true'). 1> 1> 1>Done building target "BuildCompileTraverse" in project "Test412.vcxproj". 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> Target "ResolveReferences" skipped. Previously built successfully. 1> 1> 1>Target "BeforeClCompile" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> 1> 1>Done building target "BeforeClCompile" in project "Test412.vcxproj". 1> Target "ComputeMIDLGeneratedCompileInputs" skipped. Previously built successfully. 1> 1> 1>Target "ComputeCLInputPDBName" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> 1> 1>Done building target "ComputeCLInputPDBName" in project "Test412.vcxproj". 1> Target "ResolveReferences" skipped. Previously built successfully. 1> 1> 1>Target "ComputeReferenceCLInput" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> Task "WriteLinesToFile" skipped, due to false condition; (('@(_ReferenceCopyLocalPaths)'!='') and '(DesignTimeBuild)’ != ‘true’) was evaluated as ((’’!=’’) and ‘’ != ‘true’).
1> Task “Message” skipped, due to false condition; (’(_REFERENCE_DEBUG)'=='true') was evaluated as (''=='true'). 1> 1> 1>Done building target "ComputeReferenceCLInput" in project "Test412.vcxproj". 1> 1> 1>Target "WarnCompileDuplicatedFilename" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> Task "VCMessage" skipped, due to false condition; ('%(ClCompile.ExcludedFromBuild)' != 'true' and '%(Filename)%(Extension)' != '@(ClCompile->'%(Filename)%(Extension)')' and '%(ObjectFileName)' == '@(ClCompile->Metadata(ObjectFileName)->Distinct())') was evaluated as ('' != 'true' and 'nixUtil.cu' != 'nixUtil.cu' and 'Debug\' == 'Debug\'). 1> Task "VCMessage" skipped, due to false condition; ('%(ClCompile.ExcludedFromBuild)' != 'true' and '%(Filename)%(Extension)' != '@(ClCompile->'%(Filename)%(Extension)')' and '%(ObjectFileName)' == '@(ClCompile->Metadata(ObjectFileName)->Distinct())') was evaluated as ('' != 'true' and 'nixMain.cu' != 'nixMain.cu' and 'Debug\' == 'Debug\'). 1> 1> 1>Done building target "WarnCompileDuplicatedFilename" in project "Test412.vcxproj". 1> 1> 1>Target "FixupCLCompileOptions" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> 1> 1>Done building target "FixupCLCompileOptions" in project "Test412.vcxproj". 1> 1> 1>Target "MakeDirsForCl" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj" (target "_ClCompile" depends on it): 1> Task "MakeDir" 1> Done executing task "MakeDir". 1> 1> 1>Done building target "MakeDirsForCl" in project "Test412.vcxproj". 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> Target "SetBuildDefaultEnvironmentVariables" skipped. Previously built successfully. 1> Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ != ‘’ and ‘’ != ‘true’).
1> 1>
1>Target “_SelectedFiles” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “SelectClCompile” depends on it):
1> 1>
1>Done building target “_SelectedFiles” in project “Test412.vcxproj”.
1> Target “ComputeMIDLGeneratedCompileInputs” skipped. Previously built successfully.
1> Target “ComputeCLInputPDBName” skipped. Previously built successfully.
1> Target “ComputeReferenceCLInput” skipped. Previously built successfully.
1> Target “WarnCompileDuplicatedFilename” skipped. Previously built successfully.
1> Target “FixupCLCompileOptions” skipped. Previously built successfully.
1> Target “_SelectedFiles” skipped. Previously built successfully.
1> 1>
1>Target “SelectCustomBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “SelectClCompile” depends on it):
1> 1>
1>Done building target “SelectCustomBuild” in project “Test412.vcxproj”.
1> 1>
1>Target “SelectClCompile” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ClCompile” depends on it):
1> 1>
1>Done building target “SelectClCompile” in project “Test412.vcxproj”.
1> 1>
1>Target “CheckInstalledVCLibsIPP” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\ImportBefore\Intel.Libs.IPP.v140.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “ClCompile” depends on it):
1> Task “ICMessage” skipped, due to false condition; (’(IPPMajorVersion)' == '7' AND '(IPPThreadedStatic)’==‘0’ AND (’(UseIntelIPP)' == 'Parallel_Static' OR ('(UseIntelIPP)’ == ‘true’ AND (’%(ClCompile.RuntimeLibrary)’ == ‘MultiThreaded’ OR ‘%(ClCompile.RuntimeLibrary)’ == ‘MultiThreadedDebug’)))) was evaluated as (’’ == ‘7’ AND ‘’==‘0’ AND (‘false’ == ‘Parallel_Static’ OR (‘false’ == ‘true’ AND (‘MultiThreadedDebugDll’ == ‘MultiThreaded’ OR ‘MultiThreadedDebugDll’ == ‘MultiThreadedDebug’)))).
1> Task “ICMessage” skipped, due to false condition; (’(IPPSingleThreaded)'=='0' AND ('(UseIntelIPP)’ == ‘Sequential’ OR ‘(UseIntelIPP)' == 'Sequential_Dynamic' OR ('(UseIntelIPP)’ == ‘true’ AND ‘%(ClCompile.OpenMPSupport)’ != ‘true’)) AND (IPPMajorVersion) > 7) was evaluated as (''=='0' AND ('false' == 'Sequential' OR 'false' == 'Sequential_Dynamic' OR ('false' == 'true' AND '' != 'true')) AND > 7). 1> Task "ICMessage" skipped, due to false condition; ('(IPPMultiThreaded)’==‘0’ AND (’(UseIntelIPP)' == 'Parallel_Static' OR '(UseIntelIPP)’ == ‘Parallel_Dynamic’ OR (’(UseIntelIPP)' == 'true' AND '%(ClCompile.OpenMPSupport)' == 'true')) AND (IPPMajorVersion) > 7) was evaluated as (’’==‘0’ AND (‘false’ == ‘Parallel_Static’ OR ‘false’ == ‘Parallel_Dynamic’ OR (‘false’ == ‘true’ AND ‘’ == ‘true’)) AND > 7).
1> 1>
1>Done building target “CheckInstalledVCLibsIPP” in project “Test412.vcxproj”.
1> Target “SetVCMKLEnvironment” skipped, due to false condition; (’(UseIntelMKL)' != 'No' AND '(PlatformToolset)’ == ‘v140’) was evaluated as (‘No’ != ‘No’ AND ‘v140’ == ‘v140’).
1> Target “CheckInstalledVCLibsMKL” skipped, due to false condition; (’(UseIntelMKL)' != 'No' AND '(PlatformToolset)’ == ‘v140’) was evaluated as (‘No’ != ‘No’ AND ‘v140’ == ‘v140’).
1> Target “GenerateTargetFrameworkMonikerAttribute” skipped, due to false condition; (’(GenerateTargetFrameworkAttribute)' == 'true') was evaluated as ('false' == 'true'). 1> Target "ManagedIncrementalBuildPreProcessDependencyGraph" skipped, due to false condition; ('@(ClCompile)' != '' and '(EnableManagedIncrementalBuild)’ == ‘True’) was evaluated as (‘nixUtil.cu;nixMain.cu’ != ‘’ and ‘false’ == ‘True’).
1> Target “CheckIntelEnvironmentForVCLibsDAAL” skipped, due to false condition; (’(UseIntelDAAL)' != 'false' AND '(UseEnv)’ != ‘true’ AND ‘(PlatformToolset)' == 'v140') was evaluated as ('false' != 'false' AND '' != 'true' AND 'v140' == 'v140'). 1> Target "CheckIntelEnvironmentForVCLibsIPP" skipped, due to false condition; ('(PlatformToolset)’ == ‘v140’ AND ‘(UseIntelIPP)' != '' AND '(UseIntelIPP)’ != ‘false’ AND ‘(UseEnv)' != 'true') was evaluated as ('v140' == 'v140' AND 'false' != '' AND 'false' != 'false' AND '' != 'true'). 1> Target "CheckIntelEnvironmentForVCLibsMKL" skipped, due to false condition; ('(UseIntelMKL)’ != ‘No’ AND ‘(UseEnv)' != 'true' AND '(PlatformToolset)’ == ‘v140’) was evaluated as (‘No’ != ‘No’ AND ‘’ != ‘true’ AND ‘v140’ == ‘v140’).
1> Target “CheckIntelEnvironmentForVCLibsTBB” skipped, due to false condition; (’(PlatformToolset)' == 'v140' AND '(UseIntelTBB)’ == ‘true’ AND ‘$(UseEnv)’ != ‘true’) was evaluated as (‘v140’ == ‘v140’ AND ‘false’ == ‘true’ AND ‘’ != ‘true’).
1> 1>
1>Target “ClCompile” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets” from project “C:\Users\ns76685w\Desktop\Test412\Test412\Test412.vcxproj” (target “_ClCompile” depends on it):
1> Using “Delete” task from assembly “Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.
1> Task “Delete”
1> Done executing task “Delete”.
1> Task “CL” skipped, due to false condition; (’%(ClCompile.PrecompiledHeader)’ == ‘Create’ and ‘%(ClCompile.ExcludedFromBuild)’!=‘true’ and ‘%(ClCompile.CompilerIteration)’ == ‘’) was evaluated as (‘NotUsing’ == ‘Create’ and ‘’!=‘true’ and ‘’ == ‘’).
1> Using “CL” task from assembly “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Build.CppTasks.Common.dll”.
1> Task “CL”
1> Forcing recompile of all source files due to missing PDB “Debug\vc140.pdb”.
1> Environment Variables passed to tool:
1> VS_UNICODE_OUTPUT=1228
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe /c /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc140.pdb" /Gd /TP /analyze- /errorReport:prompt nixUtil.cu nixMain.cu
1> Tracking command:
1> C:\Program Files (x86)\MSBuild\14.0\bin\Tracker.exe /d “C:\Program Files (x86)\MSBuild\14.0\bin\FileTracker32.dll” /i C:\Users\ns76685w\Desktop\Test412\Test412\Debug\Test412.tlog /r “C:\USERS\NS76685W\DESKTOP\TEST412\TEST412\NIXMAIN.CU|C:\USERS\NS76685W\DESKTOP\TEST412\TEST412\NIXUTIL.CU” /b MSBuildConsole_CancelEventfa63b97e30234e309c26a40e27adb505 /c “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe” /c /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" /ZI /nologo /W3 /WX- /sdl /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc140.pdb" /Gd /TP /analyze- /errorReport:prompt nixUtil.cu nixMain.cu
1> nixMain.cu
1> nixUtil.cu
1> 1>
1>c:\users\ns76685w\desktop\test412\test412\nixutil.cu(33): error C2059: syntax error: ‘<’
1> Generating Code…
1> The command exited with code 2.
1> Done executing task “CL” – FAILED.
1> 1>
1>Done building target “ClCompile” in project “Test412.vcxproj” – FAILED.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.43
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

In all of that output you have posted, nvcc does not appear at all.

You are not building a CUDA project, but an ordinary windows project.

You have created your project incorrectly, and as a result the .cu files are being compiled directly by cl.exe, the MS VS host code compiler. As a result this syntax error will definitely be generated.

Please suggest the corrective action(the correct way to build Cuda Project). I am new to this. I am learning it through the samples files and playing around with the existing code and modifying functionalities, where I need to addon.

Please suggest some reference, which is brief, to the point and conveys the function(s) based programming approach of C and CUDA…?

Any video could also be a good ref.

google “how to build cuda project visual studio”

try google

Or else read the programming guide:

http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#abstract

For a really basic introduction:

https://devblogs.nvidia.com/parallelforall/even-easier-introduction-cuda/

I’m sorry, I don’t have any reference for how to learn CUDA in 5 slides or a single paragraph.

feel free to google for that.

or you could follow the cudacasts series. Here is the first episode:

https://devblogs.nvidia.com/parallelforall/cudacasts-episode-1-installing-cuda-windows/

I imagine with that you should be able to google to find the second episode, etc.

But the Question remains…
I am able to compile and run other Kernel based programs in a similar fashion as this one and yet no errors. Kindly have a look at the output file of another program, inwhich I am adding 2 numbers.

The programming guides suggested by you have no setup options on Visual Studio 2015? If yes, please suggest the page number. I have already read it twice, before you suggested it.

Googleing it: I am following the steps as shown in the video, and yet getting the errors. None of the videos shows how to setup things using CUDA 8.0 and Visual Studio 2015…?
That holds good for the cudacasts mentioned by you, too.

I am not expecting you to teach me CUDA in a single paragraph(or 5 slides) but just asking, how to setup (or change the current settings of my project)into a Nvidia project using CUDA 8.0 and on Visual Studio 2015 workstation, so that proper sections of the code are compiled with the right compiler. Inshort setting up the CUDA programming environment, if documented anywhere.i have tried googling, could not find any, as per my case. Kindly suggest.

Detailed Output file from another simple program adding 2 nos. is as below for your ref.
Program:

#include
#include <cuda.h>

#include “gputimer.h”

using namespace std;

global void AddIntsCUDA(int* a, int *b) {
a[0] += b[0];

}

int main(int argc, char *argv) {

int a = 5, b = 9;
int *d_a, *d_b;
cudaMalloc(&d_a, sizeof(int));
cudaMalloc(&d_b, sizeof(int));

cudaMemcpy(d_a, &a, sizeof(int), cudaMemcpyHostToDevice);
cudaMemcpy(d_b, &b, sizeof(int), cudaMemcpyHostToDevice);


int t1 = timer();

AddIntsCUDA <<<1,1>>>(d_a, d_b);

int t2 = timer();


cudaMemcpy(&a, d_a, sizeof(int), cudaMemcpyDeviceToHost);

cout << "The answer is =" << a << endl;
cout << "Start time = " << t1 << endl;
cout << "End time = " << t2 << endl;
cout << "Time elapsed = " << (t2-t1) << endl;



cudaFree(d_a);
cudaFree(d_b);

return 0;

}

Output File (After Build and running on GPU, producing correct output, with same settings as my previous not-compiling(Not compiling Kernel<<<>>>) program).

1>------ Build started: Project: CUDA01, Configuration: Debug Win32 ------
1>Build started 5/7/2017 2:42:55 AM.
1> 1>
1>Building with tools version “14.0”.
1> 1>
1>Target “_CheckForInvalidConfigurationAndPlatform” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (entry point):
1> Task “Error” skipped, due to false condition; ( ‘(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ). 1> Task "Warning" skipped, due to false condition; ( '(_InvalidConfigurationWarning)’ == ‘true’ ) was evaluated as ( ‘’ == ‘true’ ).
1> Using “Message” task from assembly “Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.
1> Task “Message”
1> Configuration=Debug
1> Done executing task “Message”.
1> Task “Message”
1> Platform=Win32
1> Done executing task “Message”.
1> Task “Error” skipped, due to false condition; (’(OutDir)' != '' and !HasTrailingSlash('(OutDir)’)) was evaluated as (‘C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\Debug’ != ‘’ and !HasTrailingSlash(‘C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\Debug’)).
1> Task “Error” skipped, due to false condition; (’(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('(BaseIntermediateOutputPath)’)) was evaluated as (‘obj’ != ‘’ and !HasTrailingSlash(‘obj’)).
1> Task “Error” skipped, due to false condition; (’(IntermediateOutputPath)' != '' and !HasTrailingSlash('(IntermediateOutputPath)’)) was evaluated as (‘Debug’ != ‘’ and !HasTrailingSlash(‘Debug’)).
1> 1>
1>Done building target “_CheckForInvalidConfigurationAndPlatform” in project “CUDA01.vcxproj”.
1> 1>
1>Target “_PrepareForBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “Build” depends on it):
1> Task “CreateItem” skipped, due to false condition; (’%(CustomBuild.IncludeFileToTool)’!=’’) was evaluated as (’’!=’’).
1> 1>
1>Done building target “_PrepareForBuild” in project “CUDA01.vcxproj”.
1> 1>
1>Target “_PrepareForReferenceResolution” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “ResolveReferences” depends on it):
1> Task “Message” skipped, due to false condition; (’(_REFERENCE_DEBUG)'=='true') was evaluated as (''=='true'). 1> 1> 1>Done building target "_PrepareForReferenceResolution" in project "CUDA01.vcxproj". 1> Target "ComputeCrtSDKReference" skipped, due to false condition; ('@(ClCompile)'!='' and '(WindowsAppContainer)’==‘true’ and ‘(UseCrtSDKReference)' != 'false') was evaluated as (''!='' and 'false'=='true' and '' != 'false'). 1> 1> 1>Target "BeforeResolveReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveReferences" depends on it): 1> 1> 1>Done building target "BeforeResolveReferences" in project "CUDA01.vcxproj". 1> 1> 1>Target "AssignProjectConfiguration" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveReferences" depends on it): 1> Using "AssignProjectConfiguration" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "AssignProjectConfiguration" 1> Done executing task "AssignProjectConfiguration". 1> 1> 1>Done building target "AssignProjectConfiguration" in project "CUDA01.vcxproj". 1> Target "AssignProjectConfiguration" skipped. Previously built successfully. 1> 1> 1>Target "_SplitProjectReferencesByFileExistence" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveProjectReferences" depends on it): 1> Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('(BuildingInsideVisualStudio)’==‘true’ and ‘@(ProjectReferenceWithConfiguration)’!=’’) was evaluated as (‘true’==‘true’ and ‘’!=’’).
1> 1>
1>Done building target “_SplitProjectReferencesByFileExistence” in project “CUDA01.vcxproj”.
1> Target “_RemoveNameMetadataFromProjectReferenceItems” skipped, due to false condition; (’@(ProjectReference)’!=’’) was evaluated as (’’!=’’).
1> 1>
1>Target “ResolveProjectReferences” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “ResolveReferences” depends on it):
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and (’(BuildingInsideVisualStudio)' == 'true' or '(BuildProjectReferences)’ != ‘true’) and ‘(VisualStudioVersion)' != '10.0' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and ('true' == 'true' or 'true' != 'true') and '14.0' != '10.0' and '' != ''). 1> Task "MSBuild" skipped, due to false condition; ('%(_MSBuildProjectReferenceExistent.BuildReference)' == 'true' and '@(ProjectReferenceWithConfiguration)' != '' and ('(BuildingInsideVisualStudio)’ == ‘true’ or ‘(BuildProjectReferences)' != 'true') and '(VisualStudioVersion)’ == ‘10.0’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and (‘true’ == ‘true’ or ‘true’ != ‘true’) and ‘14.0’ == ‘10.0’ and ‘’ != ‘’).
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘(BuildingInsideVisualStudio)' != 'true' and '(BuildProjectReferences)’ == ‘true’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and ‘true’ != ‘true’ and ‘true’ == ‘true’ and ‘’ != ‘’).
1> Task “MSBuild” skipped, due to false condition; (’%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘(BuildingProject)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('' == 'true' and '' != '' and 'true' == 'true' and '' != ''). 1> Task "Warning" skipped, due to false condition; ('@(ProjectReferenceWithConfiguration)' != '' and '@(_MSBuildProjectReferenceNonexistent)' != '') was evaluated as ('' != '' and '' != ''). 1> 1> 1>Done building target "ResolveProjectReferences" in project "CUDA01.vcxproj". 1> Target "FindInvalidProjectReferences" skipped, due to false condition; ('(FindInvalidProjectReferences)’ == ‘true’) was evaluated as (’’ == ‘true’).
1> Target “ResolveNativeReferences” skipped, due to false condition; (’@(NativeReference)’!=’’) was evaluated as (’’!=’’).
1> Target “_PrepareForReferenceResolution” skipped. Previously built successfully.
1> 1>
1>Target “GetFrameworkPaths” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.NetFramework.CurrentVersion.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “ResolveAssemblyReferences” depends on it):
1> 1>
1>Done building target “GetFrameworkPaths” in project “CUDA01.vcxproj”.
1> Target “GetWinFXPath” skipped, due to false condition; ((’@(Page)’ != ‘’ or ‘@(ApplicationDefinition)’ != ‘’ or ‘@(Resource)’ != ‘’) and (’(GetWinFXNativePath)' != '' or '(GetWinFXWoWPath)’ != ‘’ )) was evaluated as ((’’ != ‘’ or ‘’ != ‘’ or ‘’ != ‘’) and (’’ != ‘’ or ‘’ != ‘’ )).
1> 1>
1>Target “GetReferenceAssemblyPaths” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “ResolveAssemblyReferences” depends on it):
1> Task “GetReferenceAssemblyPaths” skipped, due to false condition; (’(TargetFrameworkMoniker)' != '' and ('(_TargetFrameworkDirectories)’ == ‘’ or ‘(_FullFrameworkReferenceAssemblyPaths)' == '')) was evaluated as ('' != '' and ('C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0' == '' or 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0' == '')). 1> 1> 1>Done building target "GetReferenceAssemblyPaths" in project "CUDA01.vcxproj". 1> 1> 1>Target "SetBuildDefaultEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Current.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "PrepareForBuild" depends on it): 1> Using "SetEnv" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Build.CppTasks.Common.dll". 1> Task "SetEnv" 1> PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\MSBuild\14.0\bin\;C:\Windows\Microsoft.NET\Framework\v4.0.30319\;C:\Windows\SysWow64;;c:\program files (x86)\microsoft visual studio 14.0\common7\ide;C:\Program Files (x86)\CodeXL\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\Program Files\Microsoft HPC Pack 2012\Bin\;C:\Program Files (x86)\IntelSWTools\Trace Analyzer and Collector\9.1.2.024\bin;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.3.207\windows\mpi\intel64\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86_64;C:\Program Files (x86)\AMD APP SDK\3.0\bin\x86;C:\Users\ns76685w\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;c:\toolkits\mingw-w64-5.4.0\mingw64\bin;C:\cygwin64\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A;C:\Program Files (x86)\IntelSWTools\Trace Analyzer and Collector\9.1.2.024\dll;C:\Users\ns76685w\AppData\Roaming\npm; 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> LIB=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\lib;;C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86;;;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Lib\um\x86 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\lib;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib; 1> Done executing task "SetEnv". 1> Task "SetEnv" 1> INCLUDE=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include;;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt;;;C:\Program Files (x86)\Windows Kits\8.1\Include\um;C:\Program Files (x86)\Windows Kits\8.1\Include\shared;C:\Program Files (x86)\Windows Kits\8.1\Include\winrt;; 1> Done executing task "SetEnv". 1> 1> 1>Done building target "SetBuildDefaultEnvironmentVariables" in project "CUDA01.vcxproj". 1> Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ != ‘’ and ‘’ != ‘true’).
1> 1>
1>Target “GetResolvedWinMD” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “PrepareForBuild” depends on it):
1> 1>
1>Done building target “GetResolvedWinMD” in project “CUDA01.vcxproj”.
1> 1>
1>Target “PlatformPrepareForBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “PrepareForBuild” depends on it):
1> Task “VCMessage” skipped, due to false condition; (’(_Error64bitToolsNotInstalled)' == 'true') was evaluated as ('' == 'true'). 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(_ToolsetFound)' != 'true' and '(PlatformToolset)’ == ‘v110’) was evaluated as (’’!=‘true’ and ‘true’ != ‘true’ and ‘v140’ == ‘v110’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(_ToolsetFound)’ != ‘true’ and ‘(PlatformToolset)' == 'v100') was evaluated as (''!='true' and 'true' != 'true' and 'v140' == 'v100'). 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(_ToolsetFound)' != 'true' and '(PlatformToolset)’ == ‘v90’) was evaluated as (’’!=‘true’ and ‘true’ != ‘true’ and ‘v140’ == ‘v90’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(_ToolsetFound)’ != ‘true’ and ‘(PlatformToolset)' != 'v90' and '(PlatformToolset)’ != ‘v100’ and ‘(PlatformToolset)' != 'v110') was evaluated as (''!='true' and 'true' != 'true' and 'v140' != 'v90' and 'v140' != 'v100' and 'v140' != 'v110'). 1> 1> 1>Done building target "PlatformPrepareForBuild" in project "CUDA01.vcxproj". 1> 1> 1>Target "Desktop_PlatformPrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "PrepareForBuild" depends on it): 1> Task "VCMessage" skipped, due to false condition; ((MissingSDKProps) == ‘true’) was evaluated as ( == ‘true’).
1> 1>
1>Done building target “Desktop_PlatformPrepareForBuild” in project “CUDA01.vcxproj”.
1> Target “GetFrameworkPaths” skipped. Previously built successfully.
1> Target “GetReferenceAssemblyPaths” skipped. Previously built successfully.
1> Target “AssignLinkMetadata” skipped, due to false condition; ( ‘(SynthesizeLinkMetadata)' == 'true' ) was evaluated as ( '' == 'true' ). 1> 1> 1>Target "SetCABuildNativeEnvironmentVariables" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "PrepareForBuild" depends on it): 1> Initializing task factory "CodeTaskFactory" from assembly "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Build.Tasks.Core.dll". 1> Using "SetEnvironmentVariable" task from the task factory "Code Task Factory". 1> Task "SetEnvironmentVariable" 1> Done executing task "SetEnvironmentVariable". 1> 1> 1>Done building target "SetCABuildNativeEnvironmentVariables" in project "CUDA01.vcxproj". 1> 1> 1>Target "PrepareForBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’ != ‘true’ and ‘(ConfigurationPlatformExists)' != 'true') was evaluated as ('' != 'true' and 'true' != 'true'). 1> Using "MakeDir" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "MakeDir" 1> Done executing task "MakeDir". 1> Task "VCMessage" skipped, due to false condition; ('(DesignTimeBuild)’!=‘true’ and ‘(WindowsAppContainer)'=='true' and '(ConfigurationType)’!=‘Application’ and ‘(ConfigurationType)'!='DynamicLibrary' and '(ConfigurationType)’!=‘StaticLibrary’) was evaluated as (’’!=‘true’ and ‘false’==‘true’ and ‘Application’!=‘Application’ and ‘Application’!=‘DynamicLibrary’ and ‘Application’!=‘StaticLibrary’).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(VCInstallDir)’==’’ and ‘(UseEnv)' != 'true' and ('(TargetFrameworkVersion)’==‘v3.5’ or ‘(TargetFrameworkVersion)'=='v3.0' or '(TargetFrameworkVersion)’==‘v2.0’ )) was evaluated as (’’!=‘true’ and ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’ and (‘v4.0’==‘v3.5’ or ‘v4.0’==‘v3.0’ or ‘v4.0’==‘v2.0’ )).
1> Task “VCMessage” skipped, due to false condition; (’(DesignTimeBuild)'!='true' and '(VCInstallDir)’==’’ and ‘(UseEnv)' != 'true' and '(PlatformToolset)’==‘v90’) was evaluated as (’’!=‘true’ and ‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’ and ‘v140’==‘v90’).
1> Task “VCMessage” skipped, due to false condition; (’(VCInstallDir)'=='' and '(UseEnv)’ != ‘true’) was evaluated as (‘C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC’==’’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(WindowsSDKDir)'=='' and '(UseEnv)’ != ‘true’) was evaluated as (‘C:\Program Files (x86)\Windows Kits\8.1’==’’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IntDirTrailingSlashWarning)'=='true') was evaluated as (''=='true'). 1> Task "VCMessage" skipped, due to false condition; ('(OutDirTrailingSlashWarning)’==‘true’) was evaluated as (’’==‘true’).
1> Task “VCMessage” skipped, due to false condition; (’%(CompatibilityIssues.Identity)’ != ‘’ and ‘(DesignTimeBuild)'!='true') was evaluated as ('' != '' and ''!='true'). 1> Task "VCMessage" skipped, due to false condition; ('(_MBCS_Using)’ == ‘true’ and ‘(_MBCS_Installed)' != 'true' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ == ‘true’ and ‘’ != ‘true’ and ‘’ != ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IgnoreWarnIntDirSharingDetected)' != 'true' and '(IntDirSharingDetected)’ == ‘true’) was evaluated as (’’ != ‘true’ and ‘’ == ‘true’).
1> Task “VCMessage” skipped, due to false condition; (’(IgnoreWarnIntDirInTempDetected)' != 'true' and ('(_IntDirFullpath.StartsWith((Tmp), true, null))' == 'true' or '(_IntDirFullpath.StartsWith((Temp), true, null))' == 'true' or '(_OutDirFullpath.StartsWith((Tmp), true, null))' == 'true' or '(_OutDirFullpath.StartsWith((Temp), true, null))' == 'true')) was evaluated as ('' != 'true' and ('False' == 'true' or 'False' == 'true' or 'False' == 'true' or 'False' == 'true')). 1> Task "MakeDir" 1> Done executing task "MakeDir". 1> 1> 1>Done building target "PrepareForBuild" in project "CUDA01.vcxproj". 1> Target "_PrepareForReferenceResolution" skipped. Previously built successfully. 1> Target "ComputeCrtSDKReference" skipped, due to false condition; ('@(ClCompile)'!='' and '(WindowsAppContainer)’==‘true’ and ‘(UseCrtSDKReference)' != 'false') was evaluated as (''!='' and 'false'=='true' and '' != 'false'). 1> 1> 1>Target "GetInstalledSDKLocations" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveSDKReferences" depends on it): 1> Task "GetInstalledSDKLocations" skipped, due to false condition; ('@(SDKReference)' != '') was evaluated as ('' != ''). 1> Task "GetInstalledSDKLocations" skipped, due to false condition; ('@(SDKReference)' != '' and '(SupportWindows81SDKs)’ == ‘true’ and ‘(TargetPlatformIdentifierWindows81)' != '' and '(TargetPlatformVersionWindows81)’ != ‘’) was evaluated as (’’ != ‘’ and ‘’ == ‘true’ and ‘’ != ‘’ and ‘’ != ‘’).
1> Task “GetInstalledSDKLocations” skipped, due to false condition; (’@(SDKReference)’ != ‘’ and ‘(SupportWindowsPhone81SDKs)' == 'true' and '(TargetPlatformIdentifierWindowsPhone81)’ != ‘’ and ‘(TargetPlatformVersionWindowsPhone81)' != '') was evaluated as ('' != '' and '' == 'true' and '' != '' and '' != ''). 1> 1> 1>Done building target "GetInstalledSDKLocations" in project "CUDA01.vcxproj". 1> 1> 1>Target "ModifyUnitTestPlatformVersion" in file "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportBefore\Windows.8.1.UT_SDKReference.props" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveSDKReferences" depends on it): 1> 1> 1>Done building target "ModifyUnitTestPlatformVersion" in project "CUDA01.vcxproj". 1> 1> 1>Target "ResolveSDKReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "ResolveSDKReference" skipped, due to false condition; ('@(SDKReference)'!='') was evaluated as (''!=''). 1> 1> 1>Done building target "ResolveSDKReferences" in project "CUDA01.vcxproj". 1> Target "ResolveSDKReferences" skipped. Previously built successfully. 1> 1> 1>Target "ExpandSDKReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveAssemblyReferences" depends on it): 1> Task "GetSDKReferenceFiles" skipped, due to false condition; ('@(ResolvedSDKReference)'!='') was evaluated as (''!=''). 1> 1> 1>Done building target "ExpandSDKReferences" in project "CUDA01.vcxproj". 1> Target "ResolveNuGetPackageAssets" skipped, due to false condition; ('(ResolveNuGetPackages)’ == ‘true’ and exists(’(ProjectLockFile)')) was evaluated as ('true' == 'true' and exists('project.lock.json')). 1> 1> 1>Target "ResolveAssemblyReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "ResolveReferences" depends on it): 1> Task "ResolveAssemblyReference" skipped, due to false condition; ('@(Reference)'!='' or '@(_ResolvedProjectReferencePaths)'!='' or '@(_ExplicitReference)' != '') was evaluated as (''!='' or ''!='' or '' != ''). 1> 1> 1>Done building target "ResolveAssemblyReferences" in project "CUDA01.vcxproj". 1> Target "GenerateBindingRedirects" skipped, due to false condition; ('(AutoGenerateBindingRedirects)’ == ‘true’ and ‘(GenerateBindingRedirectsOutputType)' == 'true') was evaluated as ('' == 'true' and 'true' == 'true'). 1> Target "GenerateBindingRedirectsUpdateAppConfig" skipped, due to false condition; ('(AutoGenerateBindingRedirects)’ == ‘true’ and ‘(GenerateBindingRedirectsOutputType)' == 'true' and Exists('(_GenerateBindingRedirectsIntermediateAppConfig)’)) was evaluated as (’’ == ‘true’ and ‘true’ == ‘true’ and Exists(‘Debug\CUDA01.vcxproj.CUDA01.exe.config’)).
1> Target “ResolveComReferences” skipped, due to false condition; (’@(COMReference)’!=’’ or ‘@(COMFileReference)’!=’’) was evaluated as (’’!=’’ or ‘’!=’’).
1> 1>
1>Target “AfterResolveReferences” in file “C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “ResolveReferences” depends on it):
1> 1>
1>Done building target “AfterResolveReferences” in project “CUDA01.vcxproj”.
1> Target “ImplicitlyExpandDesignTimeFacades” skipped, due to false condition; (’(ImplicitlyExpandDesignTimeFacades)' == 'true') was evaluated as ('' == 'true'). 1> Target "ResolveTestReferences" skipped, due to false condition; ('@(Shadow)'!='') was evaluated as (''!=''). 1> 1> 1>Target "ResolveReferences" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "Build" depends on it): 1> 1> 1>Done building target "ResolveReferences" in project "CUDA01.vcxproj". 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> 1> 1>Target "InitializeBuildStatus" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "Build" depends on it): 1> Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "ReadLinesFromFile" 1> Done executing task "ReadLinesFromFile". 1> Using "WriteLinesToFile" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "WriteLinesToFile" 1> Done executing task "WriteLinesToFile". 1> Using "Touch" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "Touch" 1> Creating "Debug\CUDA01.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. 1> Done executing task "Touch". 1> 1> 1>Done building target "InitializeBuildStatus" in project "CUDA01.vcxproj". 1> Target "AssignProjectConfiguration" skipped. Previously built successfully. 1> Target "_SplitProjectReferencesByFileExistence" skipped. Previously built successfully. 1> 1> 1>Target "BuildGenerateSourcesTraverse" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "BuildGenerateSources" depends on it): 1> Task "MSBuild" skipped, due to false condition; ('(BuildPassReferences)’ == ‘true’ and ‘@(ProjectReferenceWithConfiguration)’ != ‘’ and ‘@(_MSBuildProjectReferenceExistent)’ != ‘’ and ‘%(_MSBuildProjectReferenceExistent.BuildReference)’ == ‘true’) was evaluated as (’’ == ‘true’ and ‘’ != ‘’ and ‘’ != ‘’ and ‘’ == ‘true’).
1> 1>
1>Done building target “BuildGenerateSourcesTraverse” in project “CUDA01.vcxproj”.
1> Target “PrepareForBuild” skipped. Previously built successfully.
1> Target “ResolveReferences” skipped. Previously built successfully.
1> 1>
1>Target “BeforeBuildGenerateSources” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “BuildGenerateSourcesAction" depends on it):
1> 1>
1>Done building target “BeforeBuildGenerateSources” in project “CUDA01.vcxproj”.
1> 1>
1>Target “PreBuildEvent” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target "BuildGenerateSourcesAction" depends on it):
1> Task “Message” skipped, due to false condition; (’%(PreBuildEvent.Message)’ != ‘’ and ‘%(PreBuildEvent.Command)’ != ‘’) was evaluated as (’’ != ‘’ and ‘’ != ‘’).
1> Task “Exec” skipped, due to false condition; (’%(PreBuildEvent.Command)’ != ‘’) was evaluated as (’’ != ‘’).
1> 1>
1>Done building target “PreBuildEvent” in project “CUDA01.vcxproj”.
1> Target “CustomBuild” skipped, due to false condition; (’@(CustomBuild)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxExport” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “FxCompile” skipped, due to false condition; (’@(FxCompile)’ != ‘’) was evaluated as (’’ != ‘’).
1> Target “PrepareForBuild” skipped. Previously built successfully.
1> Target “SetBuildDefaultEnvironmentVariables” skipped. Previously built successfully.
1> Target “SetUserMacroEnvironmentVariables” skipped, due to false condition; (’@(BuildMacro)’ != ‘’ and ‘(DesignTimeBuild)' != 'true') was evaluated as ('' != '' and '' != 'true'). 1> 1> 1>Target "_SelectedFiles" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "CudaBuild" depends on it): 1> 1> 1>Done building target "_SelectedFiles" in project "CUDA01.vcxproj". 1> Target "CudaFilterSelectedFiles" skipped, due to false condition; ('@(SelectedFiles)' != '') was evaluated as ('' != ''). 1> 1> 1>Target "InitializeCudaHostProperties" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "AddCudaCompileMetadata" depends on it): 1> 1> 1>Done building target "InitializeCudaHostProperties" in project "CUDA01.vcxproj". 1> 1> 1>Target "AddCudaCompileMetadata" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "CudaBuild" depends on it): 1> Building target "AddCudaCompileMetadata" completely. 1> No input files were specified. 1> Using "SanitizePaths" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll". 1> Task "SanitizePaths" 1> Done executing task "SanitizePaths". 1> Task "ReadLinesFromFile" skipped, due to false condition; (Exists('%(CudaCompile.DepsOutputPath)')) was evaluated as (Exists('Debug\main.cu.deps')). 1> Using "SplitToItemMetadata" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll". 1> Task "SplitToItemMetadata" 1> Done executing task "SplitToItemMetadata". 1> 1> 1>Done building target "AddCudaCompileMetadata" in project "CUDA01.vcxproj". 1> Target "AddCudaCompileMetadata" skipped. Previously built successfully. 1> Target "InitializeCudaHostProperties" skipped. Previously built successfully. 1> Target "AddCudaCompileMetadata" skipped. Previously built successfully. 1> 1> 1>Target "InitializeCudaProjectProperties" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "AddCudaLinkMetadata" depends on it): 1> Task "SplitToItemMetadata" 1> Done executing task "SplitToItemMetadata". 1> 1> 1>Done building target "InitializeCudaProjectProperties" in project "CUDA01.vcxproj". 1> 1> 1>Target "AddCudaLinkMetadata" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "CudaBuild" depends on it): 1> Building target "AddCudaLinkMetadata" completely. 1> No input files were specified. 1> Using "ResolvePaths" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll". 1> Task "ResolvePaths" 1> Done executing task "ResolvePaths". 1> 1> 1>Done building target "AddCudaLinkMetadata" in project "CUDA01.vcxproj". 1> Target "SetBuildDefaultEnvironmentVariables" skipped. Previously built successfully. 1> Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '' and '(DesignTimeBuild)’ != ‘true’) was evaluated as (’’ != ‘’ and ‘’ != ‘true’).
1> Target “PrepareForBuild” skipped. Previously built successfully.
1> Target “AddCudaCompileMetadata” skipped. Previously built successfully.
1> 1>
1>Target “AddCudaCompileDeps” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “CudaBuild” depends on it):
1> Building target “AddCudaCompileDeps” completely.
1> Output file “Debug\main.cu.deps” does not exist.
1> Using “GenerateDeps” task from assembly “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll”.
1> Task “GenerateDeps”
1> Command:
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe /E /nologo /showIncludes /TP /D__CUDACC
/D_MBCS /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include” /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin" /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" /I. /FIcuda_runtime.h /c “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\main.cu”
1> The “GenerateDeps” task is using “cl.exe” from “C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe”.
1> Done executing task “GenerateDeps”.
1> Task “MakeDir”
1> Done executing task “MakeDir”.
1> Task “WriteLinesToFile”
1> Done executing task “WriteLinesToFile”.
1> 1>
1>Done building target “AddCudaCompileDeps” in project “CUDA01.vcxproj”.
1> Target “SetBuildDefaultEnvironmentVariables” skipped. Previously built successfully.
1> Target “SetUserMacroEnvironmentVariables” skipped, due to false condition; (’@(BuildMacro)’ != ‘’ and ‘(DesignTimeBuild)' != 'true') was evaluated as ('' != '' and '' != 'true'). 1> Target "PrepareForBuild" skipped. Previously built successfully. 1> Target "AddCudaCompileMetadata" skipped. Previously built successfully. 1> 1> 1>Target "AddCudaCompilePropsDeps" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "CudaBuild" depends on it): 1> Building target "AddCudaCompilePropsDeps" completely. 1> Output file "Debug\main.cu.cache" does not exist. 1> Task "ReadLinesFromFile" skipped, due to false condition; (Exists('%(CudaCompile.PropsCacheOutputPath)')) was evaluated as (Exists('Debug\main.cu.cache')). 1> Using "XmlPeek" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". 1> Task "XmlPeek" 1> Found "CudaToolkitCustomDir". 1> Found "AdditionalDeps". 1> Found "CompileOut". 1> Found "Include". 1> Found "UseHostInclude". 1> Found "Keep". 1> Found "KeepDir". 1> Found "GenerateRelocatableDeviceCode". 1> Found "NvccCompilation". 1> Found "CudaRuntime". 1> Found "NvccPath". 1> Found "RequiredIncludes". 1> Found "TargetMachinePlatform". 1> Found "InterleaveSourceInPTX". 1> Found "CodeGeneration". 1> Found "GPUDebugInfo". 1> Found "GenerateLineInfo". 1> Found "MaxRegCount". 1> Found "PtxAsOptionV". 1> Found "AdditionalCompilerOptions". 1> Found "Defines". 1> Found "UseHostDefines". 1> Found "Emulation". 1> Found "HostDebugInfo". 1> Found "FastMath". 1> Found "Optimization". 1> Found "Runtime". 1> Found "RuntimeChecks". 1> Found "TypeInfo". 1> Found "Warning". 1> Found "AdditionalOptions". 1> Found "CommandLineTemplate". 1> Found "PerformDeviceLink". 1> Found "LinkOut". 1> Found "AdditionalLibraryDirectories". 1> Found "UseHostLibraryDirectories". 1> Found "AdditionalDependencies". 1> Found "UseHostLibraryDependencies". 1> Found "GPUDebugInfo". 1> Found "Optimization". 1> Found "CodeGeneration". 1> Found "TargetMachinePlatform". 1> Found "Warning". 1> Found "RuntimeChecks". 1> Found "Runtime". 1> Found "TypeInfo". 1> Found "AdditionalCompilerOptions". 1> Found "Inputs". 1> Found "AdditionalOptions". 1> Found "CommandLineTemplate". 1> Done executing task "XmlPeek". 1> Using "ReadMetadataLinesFromItems" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll". 1> Task "ReadMetadataLinesFromItems" 1> Done executing task "ReadMetadataLinesFromItems". 1> Task "WriteLinesToFile" 1> Done executing task "WriteLinesToFile". 1> 1> 1>Done building target "AddCudaCompilePropsDeps" in project "CUDA01.vcxproj". 1> 1> 1>Target "ValidateCudaBuild" in file "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets" from project "C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj" (target "CudaBuild" depends on it): 1> Task "Error" skipped, due to false condition; (!Exists((CudaToolkitDir))) was evaluated as (!Exists(C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0)).
1> 1>
1>Done building target “ValidateCudaBuild” in project “CUDA01.vcxproj”.
1> 1>
1>Target “ValidateCudaCodeGeneration” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “CudaBuild” depends on it):
1> Building target “ValidateCudaCodeGeneration” completely.
1> No input files were specified.
1> Using “CountItems” task from assembly “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll”.
1> Task “CountItems”
1> Done executing task “CountItems”.
1> Task “Error” skipped, due to false condition; (’%(CudaCompile.NvccCompilation)’ != ‘compile’ AND $(ValidateCudaCodeGenerationCount) > 1) was evaluated as (‘compile’ != ‘compile’ AND 1 > 1).
1> 1>
1>Done building target “ValidateCudaCodeGeneration” in project “CUDA01.vcxproj”.
1> 1>
1>Target “ComputeCudaCompileOutput” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “CudaBuild” depends on it):
1> Building target “ComputeCudaCompileOutput” completely.
1> No input files were specified.
1> 1>
1>Done building target “ComputeCudaCompileOutput” in project “CUDA01.vcxproj”.
1> 1>
1>Target “PrepareForCudaBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “CudaBuild” depends on it):
1> Task “SanitizePaths”
1> Done executing task “SanitizePaths”.
1> Using “CudaSetEnvironmentVariable” task from assembly “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\Nvda.Build.CudaTasks.v8.0.dll”.
1> Task “CudaSetEnvironmentVariable”
1> Nvda.Build.CudaTasks.CudaSetEnvironmentVariable: Setting ‘CUDAFE_FLAGS’ to ‘–sdk_dir “C:\Program Files (x86)\Windows Kits\8.1”’
1> Done executing task “CudaSetEnvironmentVariable”.
1> 1>
1>Done building target “PrepareForCudaBuild” in project “CUDA01.vcxproj”.
1> 1>
1>Target “CudaBuild” in file “C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.targets” from project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” (target “_BuildGenerateSourcesAction” depends on it):
1> Using “MSBuild” task from assembly “Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”.
1> Task “MSBuild”
1> Overriding Global Properties for project “C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\CUDA01.vcxproj” with:
1> Platform=Win32
1> Configuration=Debug
1> __CompileIn=C:\Users\ns76685w\Documents\Visual Studio 2015\Projects\CUDA01\CUDA01\main.cu
1> __CompileRelativeDir=
1> __CompileFilename=main
1> __CompileOut=Debug\main.cu.obj
1> __ProjectDeps=CUDA01.vcxproj
1> __Deps=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include\cuda_runtime.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_config.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\crtdefs.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\sal.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\ConcurrencySal.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vadefs.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\limits.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\stddef.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\library_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\channel_descriptor.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\cuda_runtime_api.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\cuda_device_runtime_api.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\cuda_runtime_api.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_functions.hpp;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\common_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\string.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_memory.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_memcpy_s.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\errno.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime_string.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_wstring.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_wtime.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\math.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_malloc.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_search.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\corecrt_wstdlib.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\cmath;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\yvals.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\xkeycheck.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\crtdefs.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\vcruntime.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\use_ansi.h;C:\Program Files %28x86%29\Windows Kits\10\Include\10.0.10240.0\ucrt\math.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\xtgmath.h;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\xtr1common;C:\Program Files %28x86%29\Microsoft Visual Studio 14.0\VC\include\cstdlib;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.hpp;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions_dbl_ptx3.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions_dbl_ptx3.hpp;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\cuda_surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\channel_descriptor.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\cuda_texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\channel_descriptor.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.hpp;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_atomic_functions.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\driver_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\surface_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\texture_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\vector_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\host_defines.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\builtin_types.h;c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_types.h;c:\program files\nvidia

Are you sure that you are creating a CUDA project and not just a regular C++ project?

I think you are missing some step in the setup when you are initially making a CUDA project.
You must select a CUDA project and not just making a regular C++ project and naming it *.cu.

I also think that you should take more time reading what txbob posted or you might not get any additional assistance, he is trying to help as much as he can given your situation and you are just blowing it off.

Secondly, posting the exact same thing as earlier does not help anyone and just clogs the forum post.

It seems to be quite obvious that you aren’t creating a CUDA project correctly. Maybe uninstalled CUDA 8.0 and reinstall it? Or maybe try uninstalling both CUDA 8.0 and Visual Studio 15 and reinstalling.

I had the same error except …
I had a program comprised of 3 modules: main.cu, addWithCUDA.cu, and dotProductWithCUDA.cu. All works. However, I get a red squiggly on the third < for:
addKernel<<<1, size>>>(dev_c, dev_a, dev_b);
and
dotProductKernel<<<1, size>>>(dev_c, dev_a, dev_b);

I added mMultWithCUDA (from an example on the web).
Then I additionally got the 2059 error on the third < in:
matrixMulKernel<<<dimGrid, dimBlock>>>(Md,Nd,Pd,Width);
No errors on the others still.

Installing and reinstalling did not seem to be logical.

I looked in the properties of each module and saw that VS had assigned the C++ compile to the new module.
After changing the compiler to CUDA C/C++, all builds (though I still get the squigglies).

In a nutshell:

(1) Configure your project to use the CUDA compiler to compile CUDA code in .cu files

(2) Ignore Intellisense squigglies on CUDA-specific synatx, as it doesn’t understand it