Hello,
I just bought this ebook (Kindle version). The code samples in this book are for Linux. Does it make sense to add WIN32 support? For example, some changes in to
..CodeSamples\common\common.h will let to build
hello.cu from
chapter01 in Windows 10 PowerShell:
Code:
...\chapter01> nvcc -arch sm_30 .\hello.cu -o .\hello.exe
hello.cu
Creating library .\hello.lib and object .\hello.exp
Code:
...\chapter01> .\hello.exe
Hello World from CPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!
Hello World from GPU!