Skip to content

Multitarget compiling and runtime cpuflag detection #6022

Answered by steven-johnson
jsksra1 asked this question in Q&A
Discussion options

You must be logged in to vote

BTW, please note that it's straightforward to just provide your own override of the runtime code that handles this -- just define a non-weak-linked version of

extern "C" CpuFeatures halide_get_cpu_features() {
   // your code here
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jsksra1
Comment options

Answer selected by jsksra1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants