felipecrv opened a new issue, #43719:
URL: https://github.com/apache/arrow/issues/43719

   ### Describe the enhancement requested
   
   More than once I've been confused about how the `SimdLevel` template 
parameters on these kernel classes affect dispatching of kernels based on SIMD 
support detection at runtime [1] given that nothing in the code changes based 
on the parameters.
   
   What matters is the compilation unit in which the templates are 
instantiated. Different compilation units get different compilation parameters. 
The SimdLevel parameters don't really affect the code that gets generated (!), 
they only serve as a way to avoid duplication of symbols in the compiled 
objects.
   
   I this should be made more explicit in the organization of the code.
   
   [1] https://github.com/apache/arrow/pull/7871#issuecomment-2291615590
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to