The AMD OpenCL compiler doesn't support assignments with the struct
initializer syntax ({ … }). So intead of using defines for intitializing
field elements, define them as constants instead.
I also did run gbench from Neptune and I couldn't see any performance difference. There was bigger difference between runs, than withing that branch and master.
The AMD OpenCL compiler doesn't support assignments with the struct initializer syntax (
{ … }
). So intead of using defines for intitializing field elements, define them as constants instead.It changes from e.g.
to
Fixes https://github.com/filecoin-project/neptune/issues/118.