Comments (8)
Hi, valid point! I'll check the options and will change how OpenCL is added.
from hwinfo.
Yes, please. At the moment it does not work correctly at all:
CMake Error at external/miss-opencl/CMakeLists.txt:22 (add_subdirectory):
The source directory
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_hwinfo/hwinfo/work/hwinfo-a1ae945ab784780af5fc166150a6f6612d41e7bf/external/miss-opencl/external/OpenCL
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
from hwinfo.
You need to run git update --init --recursive
first. However, building on Mac has some issues atm since I do not have access to a Mac...
from hwinfo.
This OpenCL repo does have another downside (for your users) which you might be not aware of:
fatal: clone of 'https://github.com/throwtheswitch/cexception.git' into submodule path 'C:/Users/myname/repositories/my-looongish-repo-name/ext/hwinfo/external/miss-opencl/external/OpenCL/external/OpenCL-CLHPP/external/CMock/vendor/c_exception' failed
Failed to clone 'vendor/c_exception'. Retry scheduled
Cloning into 'C:/Users/myname/repositories/my-looongish-repo-name/ext/hwinfo/external/miss-opencl/external/OpenCL/external/OpenCL-CLHPP/external/CMock/vendor/c_exception'...
fatal: cannot write keep file 'C:/Users/myname/repositories/my-looongish-repo-name/.git/modules/ext/hwinfo/modules/external/miss-opencl/modules/external/OpenCL/modules/headers-cpp/modules/external/CMock/modules/vendor/c_exception/objects/pack/pack-fd8baa50a07a4317443b1e3b5520f09f92fa84cf.keep': Filename too long
The submodules are nested so deep, that some filenames run out of MAX_PATH=260 on Windows. I can't even clone my own repo any more because of that unless I go to C:\tmp\
or something.
Fruit for thought, if OpenCL isn't a bit of an overkill.
Edit:
git -c submodule."external/miss-opencl".update=none submodule update --init --recursive
seems to be a workaround for now. https://stackoverflow.com/a/52185169
from hwinfo.
Yes, OpenCL kind of is an overkill, but for now, I found no other way to retrieve GPU Memory information...
from hwinfo.
Related Issues (20)
- Why OS Architecture not the same on my windows system info? HOT 3
- Why can't build hwinfo library on MACOS? HOT 1
- Msys2/MinGW build doesn't work on Windows HOT 1
- I'm literally lost with cmake... please help HOT 2
- Support for more monitoring features HOT 2
- Please allow using an external `libfmt`
- GitHub Action fails for MSVC build
- [Linux] PCIMapper pci.ids file location bug HOT 1
- RAM on Windows only returns the information for 1 DIMM HOT 2
- Memory Module information in Linux HOT 1
- Bringing back OSX support
- Return objects by value to exploit NRVO
- Can you provide Findhwconfig.cmake for ease of use with CMake?
- ubuntu20.04 arm,compile errors: HOT 1
- memory leak HOT 4
- Setup Release
- Touchpad support HOT 2
- Add support for uwp apps HOT 1
- Expose GPU vendor_id and device_id on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwinfo.