You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As was metnioned in #84115 (comment)_, it would be relatively simple to recognize environment variables for disabling vector support--especially to help with testing.
Today, setting DOTNET_EnableAVX2=0 results in Vector256.IsHardwareAccelerated returning false and setting DOTNET_EnableHWIntrinsic=0 will result in Vector64.IsHardwareAccelerated and Vector.IsHardwareAccelerated returning false.
Instead of requiring those two environment variables to be set and used in different test runs, we could respect DOTNET_EnableVector128 and probably several others. This approach would make the test scenarios easier to reason about..
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.
Issue Details
As was metnioned in #84115 (comment)_, it would be relatively simple to recognize environment variables for disabling vector support--especially to help with testing.
Today, setting DOTNET_EnableAVX2=0 results in Vector256.IsHardwareAccelerated returning false and setting DOTNET_EnableHWIntrinsic=0 will result in Vector64.IsHardwareAccelerated and Vector.IsHardwareAccelerated returning false.
Instead of requiring those two environment variables to be set and used in different test runs, we could respect DOTNET_EnableVector128 and probably several others. This approach would make the test scenarios easier to reason about..
Author:
jeffhandley
Assignees:
-
Labels:
area-System.Runtime.Intrinsics, untriaged
Milestone:
-
ghost
removed
the
untriaged
New issue has not been triaged by the area owner
label
Apr 7, 2023
As was metnioned in #84115 (comment)_, it would be relatively simple to recognize environment variables for disabling vector support--especially to help with testing.
Today, setting
DOTNET_EnableAVX2=0
results inVector256.IsHardwareAccelerated
returningfalse
and settingDOTNET_EnableHWIntrinsic=0
will result inVector64.IsHardwareAccelerated
andVector.IsHardwareAccelerated
returning false.Instead of requiring those two environment variables to be set and used in different test runs, we could respect
DOTNET_EnableVector128
and probably several others. This approach would make the test scenarios easier to reason about..The text was updated successfully, but these errors were encountered: