mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::simt: Add macro to differentiate RDNA over GCN.
This commit is contained in:
parent
d377674748
commit
38c4959f6c
1 changed files with 10 additions and 0 deletions
|
@ -85,3 +85,13 @@
|
|||
#define __SIZEOF_FLOAT16__ 64
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Differentiate RDNA over GCN
|
||||
//
|
||||
|
||||
#if defined(__AMDGCN__) && !defined(__AMDDNA__)
|
||||
#if __AMDGCN_WAVEFRONT_SIZE == 32
|
||||
#define __AMDDNA__ 1
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue