0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd:🆑 Increase the device extensions info string receptacle.

This commit is contained in:
Jason Volk 2021-09-15 01:42:43 -07:00
parent 6ea6a003dc
commit 5d837f9e87

View file

@ -476,12 +476,18 @@ ircd::cl::log_dev_info(const uint i,
native_kernel,
};
char extensions_buf[2048];
const string_view extensions
{
info(clGetDeviceInfo, dev, CL_DEVICE_EXTENSIONS, extensions_buf)
};
log::logf
{
log, log::level::DEBUG,
"%s :%s",
string_view{head},
info(clGetDeviceInfo, dev, CL_DEVICE_EXTENSIONS, buf[0]),
extensions,
};
}