Skip to content

Commit

Permalink
[june24/warnings] in CODEGEN (backport gg_tt.mad) MatrixElementKernel…
Browse files Browse the repository at this point in the history
…s.cc, TEMPORARELY HIDE a build warning (not fixed yet see madgraph5#543 and madgraph5#902)
  • Loading branch information
valassi committed Jul 10, 2024
1 parent 2c50a28 commit f87b423
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ namespace mg5amcGpu

//--------------------------------------------------------------------------

void MatrixElementKernelDevice::setGrid( const int gpublocks, const int gputhreads )
// FIXME! The relevance of this function should be reassessed (#543 and #902)
void MatrixElementKernelDevice::setGrid( const int /*gpublocks*/, const int /*gputhreads*/ )
{
if( m_gpublocks == 0 ) throw std::runtime_error( "MatrixElementKernelDevice: gpublocks must be > 0 in setGrid" );
if( m_gputhreads == 0 ) throw std::runtime_error( "MatrixElementKernelDevice: gputhreads must be > 0 in setGrid" );
Expand Down

0 comments on commit f87b423

Please sign in to comment.