Commit Graph

12 Commits

Author SHA1 Message Date
David Anderson ca9061f70f client: add ability to fake an OpenCL GPU
Goal: improved support for OpenCL GPUs of random types
(i.e. not Nvidia/AMD/Intel).
2016-10-25 11:06:43 -07:00
Rom Walton 5fb370f651 client: Add compute capability detection for Nvidia OpenCL devices 2016-01-07 19:33:28 -05:00
Rom Walton 96664411ea client: Remove wavefront detection from AMD OpenCL code path, it isn't used to calculate GFLOPS. 2016-01-07 19:22:03 -05:00
Rom Walton b9981d7a56 client: Properly calculate the peak FLOPS of new AMD GPU(s) that only support OpenCL.
Use AMD's vendor specific extension if it is available to calculate the total number of shaders and determine the peak FLOP rate from that.

My new GPU I got for Christmas was only reporting 30% of its peak FLOP rate and does not support CAL.
2016-01-07 01:01:51 -05:00
Charlie Fenton 62e70a8e98 client: Handle future versions of CUDA which may not report NVIDIA GPUs with Compute Capability < 2.0 at all; prevent use of those GPUs for OpenCL and show explanation in Event Log and Notices. 2014-10-26 04:12:01 -07:00
Charlie Fenton bcb15ea355 client: fix minor bug in my previous commit - the cast should be to unsigned long, not signed long. 2014-09-15 06:40:26 -07:00
Charlie Fenton eb24b43bca client: a more cross-platform way to fix the mismatch between format specifier and data than my previous commit
- This should be safe on all platforms.
2014-09-15 05:56:08 -07:00
Charlie Fenton 8827710c29 client: fix incorrect format specifier when writing out OpenCL items which have size cl_uint.
- This caused garbage to be written by Mac  x86_64 clients.
  - It now works correctly for 32-bit and 64-bit Windows clients, but needs to be tested for Linux clients.
2014-09-15 04:41:09 -07:00
Charlie Fenton 544ed85aa0 client: fix Event Log descriptions of OpenCL CPUs:
- Show the OpenCL platform vendor for each OpenCL CPU description.
 - OpenCL may not reliably report total RAM, available RAM and max FLOPS for CPUs, so exclude these from the OpenCL CPU descriptions; that information is available elsewhere.
2013-10-11 03:47:56 -07:00
Rom Walton 8888ba6aa8 client: Detect OpenCL CPUs with the latest Intel drivers.
client: Display an OpenCL CPU event log item for every OpenCL CPU detected.
2013-10-10 14:23:30 -04:00
David Anderson 4430a2cacd Update Win project files for new .cpp file 2013-08-25 15:27:11 -07:00
David Anderson c1ee47216b Move OpenCL-related code to a separate file 2013-08-25 14:13:14 -07:00