mohdshamilshafi / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

CHAR_BIT already defined (on OS X) #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the bzip branch, cudpp_globals.h contains

#define CHAR_BIT 8

This is defined (on OS X, and probably on other platforms) in limits.h.

Because it's likely this refers to a CUDA value of bits in a char rather than a 
host-platform value, I propose to replace CHAR_BIT with CUDA_CHAR_BIT 
everywhere it appears. 

Ritesh, Mark, comments?

Original issue reported on code.google.com by jow...@gmail.com on 28 Jun 2012 at 5:03

GoogleCodeExporter commented 8 years ago
Sure, I'm okay with this.

Original comment by rites...@gmail.com on 28 Jun 2012 at 5:53

GoogleCodeExporter commented 8 years ago
Checked into branch.

Original comment by jow...@gmail.com on 28 Jun 2012 at 9:11