zif520 / opencl-book-samples

Automatically exported from code.google.com/p/opencl-book-samples
0 stars 0 forks source link

Stated output does not match code (Ch. 3 p. 70) #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The given code is :
std::cout << "Device has max compute units: " << maxComputeUnits << std::endl;

The stated output is:
Device 4098 has max compute units: 8

But the device ID is not included in the cout statement.

Original issue reported on code.google.com by chen...@gmail.com on 24 Jan 2012 at 5:55