Skip to content

Commit

Permalink
Merge pull request #1850 from eliasdaler/main
Browse files Browse the repository at this point in the history
Fix compilation error for gpu.chain(ot)
  • Loading branch information
nicolasnoble authored Jan 21, 2025
2 parents 87ba3d4 + f289e4c commit 6135ed2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mips/psyqo/gpu.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ SOFTWARE.
#include "psyqo/primitives/common.hh"
#include "psyqo/primitives/control.hh"
#include "psyqo/primitives/misc.hh"
#include "psyqo/shared.hh"

namespace psyqo {

Expand Down Expand Up @@ -351,8 +352,8 @@ class GPU {
*
* @param table The ordering table to chain.
*/
template <size_t N>
void chain(OrderingTable<N> &table) {
template <size_t N, Safe safety = Safe::Yes>
void chain(OrderingTable<N, safety> &table) {
chain(&table.m_table[N], &table.m_table[0], 0);
scheduleOTC(&table.m_table[N], N + 1);
}
Expand Down

0 comments on commit 6135ed2

Please sign in to comment.