Comments (5)
I agree.
In addition, I am not totally confident about the zero overhead of a single threaded (numThreads=1) OMP version compared to a non OMP one.
Several sequential transpositions could run in concurrent threads...
from hptt.
I have just pushed a version which doesn't rely on openmp anylonger. Indeed, HPTT is now building with clang. However, you have to make sure that you are on an AVX-enabled CPU since the explicit vectorization requies AVX (the makefile currently uses -march=native). I might change the build system to CMAKE in the near future to detect these settings automatically.
If you don't want to run on an AVX-enabled CPU you currently only have the option to build the scalar version ("make scalar").
If you want to compile HPTT on system that doesn't support AVX, you have to make sure that you enable avx (e.g., -mavx).
@LaurentPlagne regarding the overhead, please notice that HPTT also exposes an expert interface via execute_expert<...> which indeed entirely avoid the overhead of spawning threads. Moreover, this interface is especially useful if HPTT is called from within a parallel region where threads have already been spawned.
from hptt.
Oops, I am discovering HPTT and I missed the execute_expert<...> API. Thank you for mentioning it !
from hptt.
No worries, HPTT is not (well) documented. I will have to find the time to do this at some point. In the meantime, please feel free to open issues if you run into any problems.
from hptt.
Now builds with clang for me and runs with CTF without error when building with make scalar. My desktop evidently does not have AVX. Will test on some larger machines eventually that ought to have AVX.
Thanks for your help!
from hptt.
Related Issues (20)
- Problem with executing benchmark and projects HOT 2
- throw error rather than exit directly
- Compiling benchmark HOT 3
- Inconsistent BSD vs LGPLv3 license text HOT 1
- Transposition into sub-tensor
- error: implicit conversion from 'const _Complex float' to 'float' is not permitted in C++ HOT 4
- Please allow the user to choose the type of library that is built: STATIC or SHARED HOT 1
- benchmark/reference.cpp fails to compile: error: cannot convert 'std::complex<float>' to 'float' in assignment HOT 2
- Any further update with new instruction sets like AVX2/AVX512?
- Fix for MSVC
- Either CMake config file or pkgconfig .pc needed
- Support for Travis CI
- "ValueError: repeated axis in transpose" in hptt.ascontiguousarray, not in np.ascontiguousarray
- Python API not working for complex arrays HOT 1
- Compilation failed with g++ 6.3.0 HOT 20
- API description HOT 2
- Strange behaviour with numThreads>1 and execute_expert<useStream, false, betaIsNull> HOT 2
- invalid read in create_plan for scalar build HOT 3
- Conjugation flag for 'A' HOT 6
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 hptt.