李通洲
edf4837ed6
GPU: refactor vendor detection code
2023-02-06 14:55:57 +08:00
李通洲
dcf04aa4fe
GPU: detect type based on vendor
2023-01-13 15:44:52 +08:00
李通洲
67ab7c0779
GPU: support vendor detection
2023-01-13 15:20:30 +08:00
Linus Dierheimer
670cf6fe90
GPU selection options
...
#379
2023-01-12 11:41:07 +01:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
Carter Li
fcbeecb0d5
Temps: test & fix temp detection on Intel ( macOS )
2022-10-01 00:29:51 +08:00
李通洲
100e59fd49
Temps: add options to enable detection ( disabled by default )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
李通洲
482e5a5eff
util/cf_helpers: rename; return error info if failed
2022-09-20 17:50:14 +08:00
Carter Li
45d6f21402
GPU: better support Intel GPUs
2022-09-17 03:02:03 +08:00
Carter Li
4d569db0fd
refactor: use MACH_PORT_NULL instead of magic number 0
2022-09-17 03:02:03 +08:00
Carter Li
d46f9ab4dc
util/cfdict_helpers: code improvements
...
1. simplify CFString usage
2. support get string from CFDataRef
2022-09-17 03:01:24 +08:00
Carter Li
bb3689b348
GPU: fix Intel compatibility
2022-09-17 01:49:00 +08:00
李通洲
09f3bd5a79
GPU: correct detection of Apple M1 GPU
...
Don't cheat
2022-09-16 23:43:08 +08:00
Linus Dierheimer
5e5c144582
Fix build on apple
2022-09-14 09:51:08 -07:00
Linus Dierheimer
ac330430bf
Link apple frameworks at compile time
2022-09-14 14:55:28 +02:00
Linus Dierheimer
8b7092e4d4
gpu_apple.c: Use Ascii encoding
2022-09-11 02:44:19 -07:00
Linus Dierheimer
2c5b079b97
Apple M1 GPU support
2022-09-09 05:40:27 -07:00
Linus Dierheimer
0be1a41b5c
Update gpu_apple.c
2022-09-08 17:33:29 +02:00
Linus Dierheimer
58f436d8a2
Apple GPU: Set length of name buffer
2022-09-07 06:40:47 -07:00
Linus Dierheimer
47d1f2e673
Try to fix gpu_apple
...
#222
2022-09-07 06:37:35 -07:00
Linus Dierheimer
0b3bf3c273
Only build display server code on linux
2022-09-06 15:42:37 +02:00
Linus Dierheimer
10973dd9d1
Better MacOS GPU support
2022-09-06 02:28:32 -07:00
Linus Dierheimer
dfdffec1c9
MacOS GPU support
2022-09-05 13:41:05 -07:00
Linus Dierheimer
54cb74c999
Separate gpu detection and printing logic
2022-09-05 17:42:42 +02:00