0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

ircd::gpt::gpu: Mute printf() on unsupporting platforms.

This commit is contained in:
Jason Volk 2022-10-06 22:22:00 +00:00
parent 2afaa4fa4f
commit 9682f406b3

View file

@ -31,6 +31,10 @@
#define static __constant static
#endif
#if __OPENCL_VERSION__ < 200
#define printf(...)
#endif
#pragma clang attribute push(__attribute__((always_inline)), apply_to = function)
#pragma clang attribute push(__attribute__((internal_linkage)), apply_to = function)
#include <ircd/simt/simt.h>