This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pythran | |
import inspect | |
import hashlib | |
import itertools | |
import imp | |
import re | |
def typename(obj): | |
# FIXME: only works for some types | |
return type(obj).__name__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using vT = xsimd::simd_type<T>; | |
using iT = xsimd::as_integer_t<T>; | |
static const size_t vN = vT::size; | |
const long n = elts.size(); | |
if(n >= std::numeric_limits<iT>::max()) { | |
return _argminmax_seq<Op>(elts, minmax_elts); | |
} | |
auto viter = types::vectorizer_nobroadcast::vbegin(elts), | |
vend = types::vectorizer_nobroadcast::vend(elts); |
OlderNewer