Commit Graph

10 Commits

Author SHA1 Message Date
Stefano Sinigardi d17ec15a06
update cuda to 12.6 (#8922)
* update cuda to 12.6
* remove cuda from opencv2 and opencv3
2024-10-10 09:59:36 +02:00
Stefano Sinigardi 9a9fcdb111
minor code cleaning (#8844)
* minor cleanup
* vcpkg force internal tools to reduce cache misses
* move getopt to 3rdparty
* add a very small test on a couple of platform in CI
2023-09-27 02:04:56 +02:00
Stefano Sinigardi 2f4ab0887c
Gl integration (#8833)
* Start adding support for running darknet from OpenGL textures

* Get CUDA-GL interop working (at least without segfaults...)

* Copy the GL texture to the CUDA input buffer

* Remove printf statements

* Code cleanup

* Fix a function call

* Remove the #ifdef GPU guard in darknet.h

* Use the width and height from the network instead of hard-coding

* Install libgles2-mesa-dev for some ubuntu targets

* Get the build working on Windows

* Add an OpenGL-CUDA integration option for CMake

* Bump the version-date in vcpkg.json

* Remove ifdef in darknet.h for the network_predict_gl_texture() function

* Use target_compile_definitions to set CUDA_OPENGL_INTEGRATION flag

* Re-add the #ifdef CUDA_OPENGL_INTEGRATION guard

---------

Co-authored-by: Brian Schwind <brianmschwind@gmail.com>
2023-08-26 03:50:00 +02:00
Stefano Sinigardi a87fe0b40d
update github actions (#8829)
* update github actions
* consolidate versions
* bump minimum cmake version
2023-08-24 19:16:28 +02:00
Stefano Sinigardi 91efb7c7f6
Deploy CUDA 11.3 in CI (#7630)
* [nuget] use personal baget repo

* update cuda to 11.3 on windows

* add error messages during build to not have green badge when failed

* remove cygwin script, is untested now; use deploy-cuda.ps1 script also inside setup.ps1
2021-04-21 19:25:46 +03:00
Stefano Sinigardi ba8f7bf756
improve build process even more (#7610)
* test for shared libs

* improve flag handling

* build so lib in ci

* clone vcpkg if not found

* fix

* improve clang handling

* bump vcpkg.json version

* gemm.c compatible with ARM

* remove unnecessary vcpkg.json field

* do not unnecessarily rebuild vcpkg in the CI build stage

* use alexeyab nuget cache

* enable self-removal of build folder

* add interactivity in build.ps1 if not opt-out

* spellcheck README

* fix another leftover spelling error

* also auto-update darknet if possible

* do not self-update darknet in CI
2021-04-18 16:11:36 +03:00
Stefano Sinigardi 552bddc140 move to ubuntu 20.04 on github actions 2021-02-21 18:00:59 +01:00
Stefano Sinigardi 6a2cab982a use same opencv feature set independently of cuda 2021-02-21 12:47:05 +01:00
Stefano Sinigardi b9d296e308 improve manifest mode 2021-02-20 09:28:07 +01:00
Stefano Sinigardi 00d578e327
update GitHub actions (#7095)
* update to run-vcpkg@v6

* bump to cmake 3.18

* use newer cuda syntax, fail if cuda enabled but not found

* update win build script

* improve travis with non-cuda-enabled builds

* improve windows building process
2021-01-21 17:36:00 +01:00