Problems with using cublas_sger.

I am attempting to use the CUBLAS version of SGER in some Fortran code using the iso_c_binding. The SGER routine appears to have a bug. Before posting many lines of code, my question is - has anyone used this function successfully? If so, were you using Cuda C or Fortran?

A second question has to do with the operation of this forum. A couple of times I have tried to attach some Fortran code, filename.f90, and each time I have been told that attachments of that type are not allowed. Obviously some files can be attached. Would someone please enlighten me as to how to do this - successfully!