0
0
Fork 0
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:
Jason Volk 2023-01-01 21:02:52 +00:00
parent d377674748
commit 38c4959f6c

View file

@ -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