Extend patch for XL to also support XL+cuda. (#19116)
This commit is contained in:
parent
9bd83636e4
commit
e36bb89b33
@ -9,3 +9,16 @@
|
||||
#include "xlcfeatures.h"
|
||||
#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||
#include "sunprofeatures.h"
|
||||
--- a/include/Random123/features/nvccfeatures.h
|
||||
+++ b/include/Random123/features/nvccfeatures.h
|
||||
@@ -116,7 +116,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define R123_ULONG_LONG unsigned long long
|
||||
#endif
|
||||
|
||||
-#if defined(__GNUC__)
|
||||
+#if defined(__xlC__) || defined(__ibmxl__)
|
||||
+#include "xlcfeatures.h"
|
||||
+#elif defined(__GNUC__)
|
||||
#include "gccfeatures.h"
|
||||
#elif defined(_MSC_FULL_VER)
|
||||
#include "msvcfeatures.h"
|
||||
|
Loading…
Reference in New Issue
Block a user