search for: threadpriv

Displaying 11 results from an estimated 11 matches for "threadpriv".

Did you mean: threadprio
2011 May 04
2
[LLVMdev] llvm and openmp
Hi all, I am new to llvm. Does llvm has support for openmp directives like #pragma openmp threadprivate(var)? If so does the variable 'var' can be class objects instead of Plain Old Datatypes (POD) like int, float etc. g++ allows the #pragma openmp threadprivate(var) primitive only for the POD type. Please check the bug link at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27557 . Please let...
2011 May 04
0
[LLVMdev] llvm and openmp
Hi Karthik, > I am new to llvm. Does llvm has support for openmp directives like #pragma > openmp threadprivate(var)? LLVM has no special support for openmp. The LLVM front-ends that support openmp, namely llvm-gcc and dragonegg, lower openmp constructs down to library calls the same way GCC does. This is no coincidence: both of those front-ends are based on GCC and just let the GCC machinery take care...
2015 May 02
3
[LLVMdev] libiomp, not libgomp as default library linked with -fopenmp
...he current llvm 3.7svn and available OPENMP patches don't > allow for imageMagick-6.8.2 to compile. The build fails on the compiler > error... > > magick/attribute.c:331:12: error: loop iteration variable in the associated > loop of 'omp parallel for' directive may not be threadprivate or thread > local, predetermined as > private > for (i=0; i < (ssize_t) image->colors; i++) > ^ > magick/attribute.c:325:9: note: loop iteration variable is predetermined as > linear > i; > ^ > magick/attribute.c:978:12: err...
2018 Sep 14
5
RFC: Adding a !thread.private metadata
...e.g. replace an atomicrmw on a thread private with a load, op, store sequence), but I'm not sure these are actually worth implementing at the moment. We could extend the memory model with a weaker access type.  I think our current NotAtomic is a good default, but we could consider adding a ThreadPrivate specifier which is weaker than the existing NotAtomic in exactly the same way that the metadata implies.  This is a reasonable implementation strategy, but might be a bit more work than I can practically commit to at the moment. Hal recently brought up the idea of a nosync function attribute...
2014 Nov 17
2
[LLVMdev] LLVM Weekly - #46, Nov 17th 2014
...port for small-model PIC. [r221791](http://reviews.llvm.org/rL221791). * The llvm.arm.space intrinsic was added to make it easier to write tests for ARM ConstantIslands. [r221903](http://reviews.llvm.org/rL221903). ## Clang commits * The constant trickle of OpenMP patches continues. Codegen for threadprivate variables has been added. [r221663](http://reviews.llvm.org/rL221663). * Support for `__has_cpp_attribute` is now present. [r221991](http://reviews.llvm.org/rL221991). ## Other project commits * Breakpoint stop/resume has been implemented on Windows for LLDB. [r221642](http://reviews.llvm.or...
2015 May 01
4
[LLVMdev] libiomp, not libgomp as default library linked with -fopenmp
Chandler, Thanks for the reply -- I always included you in libiomp supporters camp; it is good to see I wasn't mistaken! ;-) On Fri, May 1, 2015 at 12:51 AM, Chandler Carruth <chandlerc at google.com> wrote: > Is there no way to support libgomp here as well? I don't say this to hold > up changing the defaults in any way, just curious. =] > No, sorry. libgomp doesn't
2012 Oct 02
0
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...xt. It is > enough to have just one intrinsic call for several directives which > are supposed to be enclosed in other directives (like omp section, > which must appear only within omp sections context) or specify a > single instruction (like omp flush) or are declarative (like omp > threadprivate). Exit point for such directives is either non-existent > or can be determined by examining other intrinsic calls and thus, not > required to be explicitly present. > > Metadata specify only one thing: type of a directive. Currently LLVM > IR does not support integer or enumeratio...
2012 Sep 28
11
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...of the directive’s context. It is enough to have just one intrinsic call for several directives which are supposed to be enclosed in other directives (like omp section, which must appear only within omp sections context) or specify a single instruction (like omp flush) or are declarative (like omp threadprivate). Exit point for such directives is either non-existent or can be determined by examining other intrinsic calls and thus, not required to be explicitly present. Metadata specify only one thing: type of a directive. Currently LLVM IR does not support integer or enumeration metadata types; thus,...
2012 Oct 03
0
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...xt. It is > enough to have just one intrinsic call for several directives which > are supposed to be enclosed in other directives (like omp section, > which must appear only within omp sections context) or specify a > single instruction (like omp flush) or are declarative (like omp > threadprivate). Exit point for such directives is either non-existent > or can be determined by examining other intrinsic calls and thus, not > required to be explicitly present. > > Metadata specify only one thing: type of a directive. Currently LLVM > IR does not support integer or enumerati...
2012 Sep 28
0
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...xt. It is > enough to have just one intrinsic call for several directives which > are supposed to be enclosed in other directives (like omp section, > which must appear only within omp sections context) or specify a > single instruction (like omp flush) or are declarative (like omp > threadprivate). Exit point for such directives is either non-existent > or can be determined by examining other intrinsic calls and thus, not > required to be explicitly present. > > Metadata specify only one thing: type of a directive. Currently LLVM > IR does not support integer or enumerati...
2012 Aug 10
2
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...- Parallel Sections ---- OpenMP parallel sections are lowered as parallel loops. The loop executes a fixed number of times (once per section), and within the loop body a switch statement selects the correct section (in order) based on the iteration number. ---- Thread-Local Data ---- #pragma omp threadprivate(<variable-list>), which applies only to global variables, is handled by declaring global variables with the existing thread_local attribute. ---- Atomic Operations ---- OpenMP atomic operations are encoded using existing LLVM atomic intrinsics. ---- Flush ---- In general, an OpenMP flu...