Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Latest activity
Register
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
mertcan's latest activity
mertcan
replied to the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
.
Thank you @DrClaude for your valuable return. May I ask a small question related to for loop during parallelization: Lets say we have a...
May 3, 2024
mertcan
reacted to
DrClaude's post
in the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
with
Like
.
Yes, each thread will create a new instance of the pointer.
May 3, 2024
mertcan
reacted to
DrClaude's post
in the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
with
Like
.
If you simply declare the pointer as private, each thread will have its own pointer, but that pointer will point to a random place in...
May 3, 2024
mertcan
replied to the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
.
Thank you DrClaude for your explanatory and kind return. Please correct me if I understand wrong: lets say we have created a pointer...
Apr 26, 2024
mertcan
replied to the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
.
Thank you for your nice answer.
Apr 26, 2024
mertcan
reacted to
Vanadium 50's post
in the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
with
Like
.
I don't understand what you wrote - if you are using an auto-translator, you might want to try a different one. If your loop is...
Apr 26, 2024
mertcan
replied to the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
.
Thank you for your kind return, I asked because I try to comprehend the structure behind OMP for my project. Whenever I see, during the...
Apr 26, 2024
mertcan
reacted to
Vanadium 50's post
in the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
with
Like
.
So you want a variable that is local to a loop accessible outside the loop (and indeed outside the process)? Why do you need one that...
Apr 26, 2024
mertcan
reacted to
Filip Larsen's post
in the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
with
Like
.
Not sure what you are asking, but it sounds like you might want a variable with thread local storage class (this one is for C++11...
Apr 26, 2024
mertcan
posted the thread
C/C++
Parallel processing for loops and pointer defined outside the loop
in
Programming and Computer Science
.
Hi everyone; hope you are well. I have a small question: As far as I have searched, for example we can make integer variable defined...
Apr 26, 2024
Forums
Back
Top