Skip to content

Commit 1e2c947

Browse files
ronliebMakarand Maydeo
authored andcommitted
SWDEV-484055 Fixes aborts in CPX mode
AMD_MAX_HSA_AGENTS=16 is too small for CPX which is 64 This patch moves to 256. Change-Id: Ibcf51bc060a071698b439ba2486a1635765955f0
1 parent 7fe5dc8 commit 1e2c947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/hostexec/services/amdgcn_hostexec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <thread>
2727

2828
/// Defines how many GPUs are maximally supported on a system
29-
#define AMD_MAX_HSA_AGENTS 16
29+
#define AMD_MAX_HSA_AGENTS 256
3030

3131
/** Opaque wrapper for signal */
3232
typedef struct {

0 commit comments

Comments
 (0)