Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Port RayTracer benchmark to SoA algorithm using Vector128/256<T> #10250

Closed
fiigii opened this issue Apr 26, 2018 · 5 comments
Closed

Port RayTracer benchmark to SoA algorithm using Vector128/256<T> #10250

fiigii opened this issue Apr 26, 2018 · 5 comments
Assignees
Labels
arch-x64 arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI tenet-performance-benchmarks Issue from performance benchmark test-enhancement Improvements of test source code
Milestone

Comments

@fiigii
Copy link
Contributor

fiigii commented Apr 26, 2018

The current SIMD benchmark RayTracer is using Vector3 to vectorize the basic 3D vector operations. However, this program is an AoS algorithm that cannot leverage wider SIMD operations. So, we should port RayTracer to a SoA algorithm using AVX intrinsics with Vector256<T>, then extend it to SSE* intrinsic with Vector128<T>.

cc @CarolEidt @tannergooding @AndyAyersMS @jkotas

@fiigii
Copy link
Contributor Author

fiigii commented Apr 26, 2018

I will work on this issue, please assign to me.

@AndyAyersMS
Copy link
Member

Please make a new benchmark so we have both versions.

@fiigii
Copy link
Contributor Author

fiigii commented Apr 26, 2018

Yes, this benchmark is only for Intel hardware intrinsic, which will be put in https://github.com/dotnet/coreclr/tree/master/tests/src/JIT/HardwareIntrinsics/X86

@AndyAyersMS
Copy link
Member

Perhaps you should add it over where we have all the other benchmarks:

https://github.com/dotnet/coreclr/tree/master/tests/src/JIT/Performance/CodeQuality

@fiigii
Copy link
Contributor Author

fiigii commented Apr 26, 2018

Thanks for the suggestion. Will do.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 3.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
arch-x64 arch-x86 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI tenet-performance-benchmarks Issue from performance benchmark test-enhancement Improvements of test source code
Projects
None yet
Development

No branches or pull requests

3 participants