CUDA By Example

I compile source code provided for Chapter 3 of CUDA By Example.
I run the compiled file and get:

unknown error in simple_device_call.cu at line 30

If I remove the call to HANDLE_ERROR() the code works fine.

Could someone please help with this?

Boston Brooks.