search for: get_num_thread

Displaying 3 results from an estimated 3 matches for "get_num_thread".

Did you mean: get_num_threads
2012 Sep 26
0
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...limit` is the limit from the parallel_map) of fn are executed with mutual exclusion. `type` can either be 0 (`Any`) signifying that the synchronized regions can be run in any order or 1 (`Ordered`) signifying that the synchronized regions must be run in increasing order of the index. 3. i32 @llvm.get_num_threads() Semantics: Returns the number of threads in the thread pool. 4. i32 @llvm.set_num_threads(i32) Set the number of threads in the thread pool. It should be possible to lower all OpenMP directives to the above four intrinsics in the frontend (please read this in conjunction with [1]): Para...
2012 Aug 14
4
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
On Tue, 14 Aug 2012 10:22:35 +0300 Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi> wrote: > On 08/13/2012 10:54 PM, Hal Finkel wrote: > > I had thought about uses for shared-memory OpenCL implementations, > > but I don't know enough about the use cases to make a specific > > proposal. Is your metadata documented anywhere? > > It is now a quick "brute
2012 Sep 26
1
[LLVMdev] [RFC] Parallelization metadata and intrinsics in LLVM (for OpenMP, etc.)
...limit` is the limit from the parallel_map) of fn are executed with mutual exclusion. `type` can either be 0 (`Any`) signifying that the synchronized regions can be run in any order or 1 (`Ordered`) signifying that the synchronized regions must be run in increasing order of the index. 3. i32 @llvm.get_num_threads() Semantics: Returns the number of threads in the thread pool. 4. i32 @llvm.set_num_threads(i32) Set the number of threads in the thread pool. It should be possible to lower all OpenMP directives to the above four intrinsics in the frontend (please read this in conjunction with [1]): Para...