Skip to content
  • Andreas Marek's avatar
    Fix bug in GPU version · c204c68e
    Andreas Marek authored
    The associaten with Cuda memory as Fortran arrays was sometimes
    done wrongly , since not the number of array elements but instead
    the number of array elements times the sizeof(datatype) was used.
    This was a mix-up between the C allocation and the Fortran reshape.
    
    This could lead to memory corruption
    c204c68e