-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Another issue introduced in #830 and being reviewed in #882.
Macro CUDACC should not be used when the code is meant to support also HIP
#ifdef MGONGPU_SUPPORTS_MULTICHANNEL
if( channelIds != 0 )
{
channelids_sv = CID_ACCESS::kernelAccessConst( channelIds );
#if defined __CUDACC__ or !defined MGONGPU_CPPSIMD
if( channelids_sv == 1 ) numerators_sv += cxabs2( amp_sv[0] );
denominators_sv += cxabs2( amp_sv[0] );
#else
for( int i = 0; i < neppV; ++i )
{
if( channelids_sv[i] == 1 ) numerators_sv += cxabs2( amp_sv[0] );
denominators_sv += cxabs2( amp_sv[0] );
}
#endif
}
#endif
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels