https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117939

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=117997,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=118415
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Fixed by commit r15-6843-g9c387a99a911724546abe99ecd39bfc968ed6333 "[PATCH]
crc: Fix up some crc related wrong code issues [PR117997, PR118415]".  Thanks!

We were trying to access the '.const'
'crc_table_for_crc_16_polynomial_0x1021[256]' with generic addressing, causing
the 'CUDA_ERROR_ILLEGAL_ADDRESS's.  We either have to use 'ld' etc. with
'.const' state space modifier, or first convert the '.const' address to a
generic one -- and the latter ('cvta.const') is, I suspect, what the use of
'output_constant_def' now takes care of.

Reply via email to