Define and optimize RDNA1 (#8085)
This commit is contained in:
parent
5f2d4e60e2
commit
d23287f122
2 changed files with 11 additions and 3 deletions
|
@ -227,6 +227,10 @@ typedef float2 dfloat2;
|
|||
#define RDNA2
|
||||
#endif
|
||||
|
||||
#if defined(__gfx1010__) || defined(__gfx1012__)
|
||||
#define RDNA1
|
||||
#endif
|
||||
|
||||
#ifndef __has_builtin
|
||||
#define __has_builtin(x) 0
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue