69977b5a58d58360a3e2f2578dd31efcf76d850b,skcuda/magma.py,,magma_init,#,89

Before Change


    if v >= (1, 5, 0):
        _uplo_conversion.update({"L": _libmagma.magma_uplo_const(b"L"),
                                 "l": _libmagma.magma_uplo_const(b"l"),
                                 "U": _libmagma.magma_uplo_const(b"U"),
                                 "u": _libmagma.magma_uplo_const(b"u")})
    else:
       _uplo_conversion.update({"L": "L", "l": "l", "U": "u", "u": "u"})

After Change


        for c in ["n", "N", "a", "A", "o", "O", "s", "S", "i", "I", "v", "V"]:
            _vec_conversion.update({c: _libmagma.magma_vec_const(c)})
    else:
        for c in ["l", "L", "u", "U"]:
            _uplo_conversion.update({c: c})
        for c in ["n", "N", "a", "A", "o", "O", "s", "S", "i", "I", "v", "V"]:
            _vec_conversion.update({c: c})

_libmagma.magma_finalize.restype = int
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: lebedov/scikit-cuda
Commit Name: 69977b5a58d58360a3e2f2578dd31efcf76d850b
Time: 2016-12-18
Author: lev@columbia.edu
File Name: skcuda/magma.py
Class Name:
Method Name: magma_init


Project Name: nilearn/nilearn
Commit Name: a9ebee86e21971a0eb8236f953686d037316efec
Time: 2020-12-04
Author: nicolas.gensollen@gmail.com
File Name: examples/02_decoding/plot_haxby_different_estimators.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: 9b9095f877f603d91495c72f91e4fddf61f1724e
Time: 2019-07-22
Author: jerome@dockes.org
File Name: examples/02_decoding/plot_haxby_stimuli.py
Class Name:
Method Name: