Skip to content

Continuation line not supported with cuf or OpenACC conditional compilation line #164470

@clementval

Description

@clementval

Using continuation line in a cuf or OpenACC conditional compilation line will trigger a bad character error.

!@cuf attributes(device) &
function rgbMinusRgb(rgb1, rgb2) result(res)
  type(rgb), intent(in) :: rgb1, rgb2
  real(4), intent(out) :: res(3)
  res = rgb1%v - rgb2%v
end function rgbMinusRgb
$ bbc -fcuda example.cuf -o -
./bin/bbc: could not scan example.cuf
./example.cuf:1:26: error: bad character ('&') in Fortran token
  !@cuf attributes(device) &

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions