device: use unroll factor based on platforms
Ta zmiana jest zawarta w:
%! (template.HTML=
Nusrat Islam)złożyło 2023-06-14 13:36:15 -05:00
1 rodzic
f35777e9b0
złożenie
3a741787bf
Plik 1 zmieniony
+5
@@ -11,7 +11,12 @@
|
||||
#include "collectives.h"
|
||||
#include "devcomm.h"
|
||||
|
||||
#if defined(__gfx940__)
|
||||
#define COLL_UNROLL 4
|
||||
#else
|
||||
#define COLL_UNROLL 2
|
||||
#endif
|
||||
|
||||
#define NCCL_MAX_DEV_ARITY (NCCL_MAX_TREE_ARITY-1) // Using balanced tree instead of split tree
|
||||
|
||||
#define __syncwarp()
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika