tbb

-mimplicit-it compiler flag not recognized

天涯浪子 提交于 2019-12-01 00:13:41
I am attempting to compile a C++ library for a Tegra TK1. The library links to TBB, which I pulled using the package manager. During compilation I got the following error /tmp/cc4iLbKz.s: Assembler messages: /tmp/cc4iLbKz.s:9541: Error: thumb conditional instruction should be in IT block -- `strexeq r2,r3,[r4]' A bit of googling and this question led me to try adding -mimplicit-it=thumb to CMAKE_CXX_FLAGS, but the compiler doesn't recognize it. I am compiling on the tegra with kernal 3.10.40-grinch-21.3.4, and using gcc 4.8.4 compiler (thats what comes back when I type c++ -v) I'm not sure

-mimplicit-it compiler flag not recognized

大憨熊 提交于 2019-11-30 18:07:37
问题 I am attempting to compile a C++ library for a Tegra TK1. The library links to TBB, which I pulled using the package manager. During compilation I got the following error /tmp/cc4iLbKz.s: Assembler messages: /tmp/cc4iLbKz.s:9541: Error: thumb conditional instruction should be in IT block -- `strexeq r2,r3,[r4]' A bit of googling and this question led me to try adding -mimplicit-it=thumb to CMAKE_CXX_FLAGS, but the compiler doesn't recognize it. I am compiling on the tegra with kernal 3.10.40

Check if OpenCV is compiled with TBB

不问归期 提交于 2019-11-30 17:57:49
How can I check if the OpenCV libraries installed on my Linux machine are compiled against TBB libraries or not? Print the shared library dependencies of *libopencv_core* using ldd : ldd /usr/local/lib/libopencv_core.so And you should see TBB on the list. If you were on Mac OS X the equivalent is otool -L , and on my system it outputs: /Users/karlphillip/installers/OpenCV-2.4.2/build/lib/libopencv_core.2.4.dylib (compatibility version 2.4.0, current version 2.4.2) libtbb.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current

Is this C++ implementation for an Atomic float safe?

流过昼夜 提交于 2019-11-30 06:45:18
Edit: The code here still has some bugs in it, and it could do better in the performance department, but instead of trying to fix this, for the record I took the problem over to the Intel discussion groups and got lots of great feedback, and if all goes well a polished version of Atomic float will be included in a near future release of Intel's Threading Building Blocks Ok here's a tough one, I want an Atomic float, not for super-fast graphics performance, but to use routinely as data-members of classes. And I don't want to pay the price of using locks on these classes, because it provides no

Any experiences with Intel's Threading Building Blocks? [closed]

浪尽此生 提交于 2019-11-30 03:25:58
Intel's Threading Building Blocks (TBB) open source library looks really interesting. Even though there's even an O'Reilly Book about the subject I don't hear about a lot of people using it. I'm interested in using it for some multi-level parallel applications (MPI + threads) in Unix (Mac, Linux, etc.) environments. For what it's worth, I'm interested in high performance computing / numerical methods kinds of applications. Does anyone have experiences with TBB? Does it work well? Is it fairly portable (including GCC and other compilers)? Does the paradigm work well for programs you've written?

Check if OpenCV is compiled with TBB

非 Y 不嫁゛ 提交于 2019-11-30 01:51:39
问题 How can I check if the OpenCV libraries installed on my Linux machine are compiled against TBB libraries or not? 回答1: Print the shared library dependencies of *libopencv_core* using ldd : ldd /usr/local/lib/libopencv_core.so And you should see TBB on the list. If you were on Mac OS X the equivalent is otool -L , and on my system it outputs: /Users/karlphillip/installers/OpenCV-2.4.2/build/lib/libopencv_core.2.4.dylib (compatibility version 2.4.0, current version 2.4.2) libtbb.dylib

C++ Parallelization Libraries: OpenMP vs. Thread Building Blocks [closed]

非 Y 不嫁゛ 提交于 2019-11-29 19:12:38
I'm going to retrofit my custom graphics engine so that it takes advantage of multicore CPUs. More exactly, I am looking for a library to parallelize loops. It seems to me that both OpenMP and Intel's Thread Building Blocks are very well suited for the job. Also, both are supported by Visual Studio's C++ compiler and most other popular compilers. And both libraries seem quite straight-forward to use. So, which one should I choose? Has anyone tried both libraries and can give me some cons and pros of using either library? Also, what did you choose to work with in the end? Thanks, Adrian I haven

QtCreator and TBB under Windows

喜夏-厌秋 提交于 2019-11-29 17:24:30
I have compiled TBB from source using Mingw following the comment #5 in this post: http://software.intel.com/en-us/forums/topic/291331 . That went ok. When I try to use the new TBB library in a QtCreator project, I end with this errors (ignore the warning messages): http://postimage.org/image/yrrecugix/ Here's the sample code I tried (I omit the non-tbb code): #include "tbb/task_scheduler_init.h" int main() { tbb::task_scheduler_init init; /// more things. } And here's the .pro file: TEMPLATE = app CONFIG += console CONFIG -= qt SOURCES += main.cpp #QMAKE_CXXFLAGS += -fopenmp #QMAKE_LFLAGS +=

Is this C++ implementation for an Atomic float safe?

五迷三道 提交于 2019-11-29 06:31:00
问题 Edit: The code here still has some bugs in it, and it could do better in the performance department, but instead of trying to fix this, for the record I took the problem over to the Intel discussion groups and got lots of great feedback, and if all goes well a polished version of Atomic float will be included in a near future release of Intel's Threading Building Blocks Ok here's a tough one, I want an Atomic float, not for super-fast graphics performance, but to use routinely as data-members

Any experiences with Intel's Threading Building Blocks? [closed]

痞子三分冷 提交于 2019-11-29 01:50:22
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . Intel's Threading Building Blocks (TBB) open source library looks really interesting. Even though there's even an O'Reilly Book about the subject I don't hear about a lot of people using it. I'm interested in using it for some multi-level parallel applications (MPI + threads)