Unused omp firstprivate variable sphdata at line 4439 of particle.c #39686

Closed
opened 2014-04-11 21:38:04 +02:00 by jrp · 8 comments
jrp commented 2014-04-11 21:38:04 +02:00 (Migrated from localhost:3001)

My omp is fairly rudimentary, but the VS2013 compiler warns that sphdata is unreferenced at Line 4439 in particle.c:

pragma omp parallel for firstprivate (sphdata) private (pa) schedule(dynamic,5) /* sphdata unreferenced */

			LOOP_DYNAMIC_PARTICLES {
				basic_integrate(sim, p, pa->state.time, cfra);
			}

is this intentional?

My omp is fairly rudimentary, but the VS2013 compiler warns that sphdata is unreferenced at Line 4439 in particle.c: # pragma omp parallel for firstprivate (sphdata) private (pa) schedule(dynamic,5) /* sphdata unreferenced */ LOOP_DYNAMIC_PARTICLES { basic_integrate(sim, p, pa->state.time, cfra); } is this intentional?
jrp commented 2014-04-11 21:38:04 +02:00 (Migrated from localhost:3001)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Alex Fraser was assigned by blender-admin 2014-04-11 21:38:04 +02:00
jrp commented 2014-04-11 21:38:04 +02:00 (Migrated from localhost:3001)
Author

Added subscriber: @jrp

Added subscriber: @jrp

Added subscriber: @mont29

Added subscriber: @mont29
Member

Fair enough - yes, that's unintentional. It is required for the other loops, but not that one. Do you want to commit a fix? Otherwise I can.

Fair enough - yes, that's unintentional. It is required for the other loops, but not that one. Do you want to commit a fix? Otherwise I can.
jrp commented 2014-04-12 13:06:32 +02:00 (Migrated from localhost:3001)
Author

I don't have commit access, so can I leave it to you, please, @z0r?

I don't have commit access, so can I leave it to you, please, @z0r?
Author

This issue was referenced by 3e0d5898e5

This issue was referenced by 3e0d5898e548cdeea3488c9795898b5e42c3463a

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 3e0d5898e5.

Closed by commit 3e0d5898e5.
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#39686
No description provided.