Skip to content

enhance the simd advisor - #61

Merged
NingW101 merged 3 commits into
web-devkits:mainfrom
NingW101:dev-simd-advisor
Feb 7, 2024
Merged

enhance the simd advisor #61
NingW101 merged 3 commits into
web-devkits:mainfrom
NingW101:dev-simd-advisor

Conversation

@NingW101

@NingW101 NingW101 commented Feb 7, 2024

Copy link
Copy Markdown
Contributor

to handle the scenarios

  • x86 intrinsic header file is included
  • compiler flags should be added when SSE intrinsic header files are included

to close #56

 - x86 intrinsic header file is included
 - compiler flags should be added when SSE intrinsics are included
@NingW101
NingW101 requested a review from lingyuncai February 7, 2024 03:28

@lingyuncai lingyuncai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Ning! Please add a test case for the enhanced scenario, together with the PR :)

@NingW101

NingW101 commented Feb 7, 2024

Copy link
Copy Markdown
Contributor Author

Thanks Ning! Please add a test case for the enhanced scenario, together with the PR :)

Test cases updated. PTAL~

Comment thread src/advisors/simd.ts
actions.push(action);
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we should also check the simd option value to determine if we need to enable the simd option at the same time when actions array is not empty.

@lingyuncai lingyuncai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks Ning! LGTM~

@NingW101
NingW101 merged commit 45ff805 into web-devkits:main Feb 7, 2024
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.

Enhancements for SIMD advisor

2 participants