Skip to content

Work around ifx bug#142

Merged
ktras merged 2 commits into
mainfrom
work-around-ifx-bug
Apr 10, 2024
Merged

Work around ifx bug#142
ktras merged 2 commits into
mainfrom
work-around-ifx-bug

Conversation

@rouson

@rouson rouson commented Apr 10, 2024

Copy link
Copy Markdown
Contributor

No description provided.

rouson added 2 commits April 9, 2024 19:29
More training iterations in the trainable_engine_test_m function
xor_gate_with_random_weights() yields a test that is less
sensitive to the specific random number sequence used to
initialize network weights.  However, large number of iterations
cause the test suite to crash when compiled with the Intel ifx
compiler due to an apparent compiler bug.  This commit therefore
set the number of iterations for which the test suite currently
passes with the gfortran, ifx, and NAG compilers.
The previous tolerance (1.E-08) in the tensor_range_test_m function
map_to_from_training_range() was slightly too strict for default-
real arithmetic. This commit increases the tolerance to 1.E-07.
@rouson rouson requested a review from ktras April 10, 2024 02:47

@ktras ktras left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ktras ktras merged commit e656682 into main Apr 10, 2024
@ktras ktras deleted the work-around-ifx-bug branch April 10, 2024 15:47
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.

2 participants