[ET Trac] [Einstein Toolkit] #1634: CUDA breaks CCTK_BUILTIN_UNREACHABLE

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Jun 18 12:26:44 CDT 2014


#1634: CUDA breaks CCTK_BUILTIN_UNREACHABLE
----------------------+-----------------------------------------------------
  Reporter:  sbrandt  |       Owner:                     
      Type:  defect   |      Status:  new                
  Priority:  minor    |   Milestone:  Cactus_4.3.0       
 Component:  Other    |     Version:  development version
Resolution:           |    Keywords:                     
----------------------+-----------------------------------------------------

Comment (by eschnett):

 (1) In the long run, CUDA should become its own language, and should stop
 pretending to be C or C++. In the short run, testing __CUDACC__ is fine.

 (2) Isn't CUDA like C++? If so, do you need to change the behaviour of C
 code?

 (3) If asm("trap;") works always, then the macro should be always defined,
 and not only if C++ supports it.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1634#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list