Skip to content

Commit 6135ed2

Browse files
authored
Merge pull request #1850 from eliasdaler/main
Fix compilation error for gpu.chain(ot)
2 parents 87ba3d4 + f289e4c commit 6135ed2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/mips/psyqo/gpu.hh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ SOFTWARE.
4343
#include "psyqo/primitives/common.hh"
4444
#include "psyqo/primitives/control.hh"
4545
#include "psyqo/primitives/misc.hh"
46+
#include "psyqo/shared.hh"
4647

4748
namespace psyqo {
4849

@@ -351,8 +352,8 @@ class GPU {
351352
*
352353
* @param table The ordering table to chain.
353354
*/
354-
template <size_t N>
355-
void chain(OrderingTable<N> &table) {
355+
template <size_t N, Safe safety = Safe::Yes>
356+
void chain(OrderingTable<N, safety> &table) {
356357
chain(&table.m_table[N], &table.m_table[0], 0);
357358
scheduleOTC(&table.m_table[N], N + 1);
358359
}

0 commit comments

Comments
 (0)