-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time consuming vs sqp #190
Comments
The speed-up you are seeing with vectorization is not the same as for us. How did you install proxsuite? If from source, did you properly compile proxsuite with simde ?
|
I guess you should compile in Release mode |
Hi, I install proxsuite from source, following steps is https://github.com/Simple-Robotics/proxsuite/blob/main/doc/5-installation.md. I can locate simde In my build directory, run
My CMakeLists is set like https://github.com/Simple-Robotics/proxsuite says
It seems it should be modified to support vectorization and release mode compilation? |
You should add -DCMAKE_BUILD_TYPE=Release when using cmake command. Please look for it on internet if it seems new to you |
I will close this issue as it seems the missing Release information is the solution |
@CliffBao, I have one quick question. How did you install SIMDE even on ubuntu 18.04? I think they only support ubuntu 22.04. |
@shbang91 you can install via conda. I just tried |
@fabinsch I think I need the header files of the simde library because I want to use c++ version of ProxQP. Do you think I can manually copy and paste the headers of simde library into On another note, I tried building the test by triggering Is this issue you are already aware of? I'm using ubuntu 18.04. In addition, assuming the same setting (CMakelists, etc), even though I tried to solve the same problem on MacOS and ubuntu 18.04, MacOS solved the problem successfully, but ubuntu failed. Do you have any idea on this? Thank you. |
hi @shbang91, you can still use conda to install simde (this gets the necessary files) and then build the c++ code of proxsuite from source. You just need to point cmake to the correct location. The easiest is to start from a new conda env, then install all necessary dependencies via
I just tried, this works on Ubuntu 18.04. The other problem is really not related anymore to this issue, please consider opening a new issue or just comment the lines 39 and 40 in |
Hello , i build examples/cpp/benchmark_dense_qp.cpp and run it, but why resulted setup time and solve time is 0s?
Then I use clock_gettime(CLOCK_THREAD_CPUTIME_ID, &time) to count cpu time consuming, this time I get
which is quite different from time declared in this file.
My full code is
And the cmake list file is
My PC is Intel i7-11700 and ubuntu 18.04 ,which should not cost too much time from given reference consumption.
In addition, I wonder how sqp performs under this same dense matrix?
The text was updated successfully, but these errors were encountered: