Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Professional Professional CUDA C Programming
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Professional CUDA C Programming
This is the forum to discuss the Wrox book Professional CUDA C Programming John Cheng, Max Grossman, Ty McKercher; ISBN: 978-1-118-73932-7
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Professional CUDA C Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 15th, 2016, 10:20 AM
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to PaoloVagnini
Default A kind of an errata using sizeof, I guess

Page 52, last line

is:
Code:
int nBytes = nxy*sizeof(float);
should be (in my very humble opinion):
Code:
size_t nBytes = nxy*sizeof(int);
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to guess around ActiveX=COM Components asgarcymed VBScript 2 December 3rd, 2007 02:08 PM
"almost" a running sum I guess RobCarter SQL Server 2000 8 March 16th, 2007 03:00 AM
SizeOf Structs CDMBR C# 1 February 21st, 2007 06:24 PM
sizeof Integer in infopath vikram_vikram Infopath 0 November 30th, 2005 08:42 AM
sizeof joeben C# 1 April 2nd, 2005 08:01 AM



All times are GMT -4. The time now is 01:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.