MCPcopy Create free account
hub / github.com/GollyGang/ready / GetOpenCLInstallationHints

Method GetOpenCLInstallationHints

src/readybase/OpenCL_utils.cpp:634–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632// ---------------------------------------------------------------------------------------------------------
633
634const char* OpenCL_utils::GetOpenCLInstallationHints()
635{
636 return
637 "This requires OpenCL, which has not been detected on your system.\n\n"
638 "OpenCL allows Ready to take advantage of the many-core architectures on\n"
639 "graphics cards and modern CPUs. OpenCL also allows rules to be written in\n"
640 "a text format and compiled on the fly. It is available on every operating\n"
641 "system, so please install it to get the most out of Ready. (One exception:\n"
642 "If your OS is running in a virtual machine then it may not be possible to\n"
643 "get OpenCL working.)\n\n"
644 "Links:\n"
645 "https://streamcomputing.eu/blog/2015-03-16/how-to-install-opencl-on-windows/\n"
646 "https://wiki.tiker.net/OpenCLHowTo (for Linux)\n\n"
647 "Without OpenCL you can load the files in the 'CPU-only' folder. Or use\n"
648 "File > New Pattern or File > Import Mesh to make new examples.";
649}
650// -------------------------------------------------------------------------------------------------------------
651

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected