Removed the warnings about demoting double constants to float constants by explicitly specifying the type for the float constants, e.g. (float) 1.5.
Removed the warnings about demoting double constants to float constants by explicitly specifying the type for the float constants, e.g. (float) 1.5.

Ignore-this: 58cc291b90fa7a0087ae84e728c4b008

  - The generated (language-c) code isn't pretty-printing floating constants
    with a trailing 'f' (i.e. '1.5f'), and nvcc considers them as double
    constants and demotes them to float constants with warnings.
  - So, I changed the code generator to explicitly specify the type of the
    float constants by prefix them with (float). For example, a float
    constant 1.5 appears as (float) 1.5 in the generated code whereas a
    double constant 1.5 appears as it is.

darcs-hash:20100718134048-879de-92e3ddf86e11a12e2391f3f2dab27183aa92a293.gz

rrnewton/accelerate,wilbowma/accelerate,wilbowma/accelerate,robeverest/accelerate,robeverest/accelerate,sjfloat/accelerate