Skip to content

Conversation

@colesbury
Copy link
Member

Fixes undefined behavior: exceptions are not allowed to be thrown across
OpenMP constructs.

@colesbury colesbury requested a review from gchanan January 25, 2018 21:03
@colesbury
Copy link
Member Author

cc @yf225

Fixes undefined behavior: exceptions are not allowed to be thrown across
OpenMP constructs.
@yf225
Copy link
Contributor

yf225 commented Jan 25, 2018

@pytorchbot retest this please

@yf225
Copy link
Contributor

yf225 commented Jan 25, 2018

CPU perf test fail seems to be intermittent. Retesting works: https://ci.pytorch.org/jenkins/job/pytorch-builds/job/short-perf-test-cpu/305/console.

dst_data[i] = src_data[THTensor_(dataOffset)(src, idx)];
}
} else {
THAtomicCompareAndSwapLong(&invalidIdx, -1, idx);

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@colesbury colesbury merged commit 483828e into pytorch:master Jan 25, 2018
@colesbury colesbury deleted the take_put_omp branch January 25, 2018 22:56
@soumith soumith added the 0.3.1 label Feb 5, 2018
soumith pushed a commit that referenced this pull request Feb 7, 2018
Fixes undefined behavior: exceptions are not allowed to be thrown across
OpenMP constructs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants