mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::gpt::gpu: Mute printf() on unsupporting platforms.
This commit is contained in:
parent
2afaa4fa4f
commit
9682f406b3
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue