8289fc6b5874208d2281841a43eb4c4ca1c3424c,theano/gpuarray/linalg.py,GpuCholesky,perform,#GpuCholesky#Any#Any#Any#,273

Before Change


        workspace_ptr = workspace.gpudata
        dev_info_ptr = dev_info.gpudata

        with context:
            cusolver.cusolverDnSpotrf(
                context.cusolver_handle, l_parameter, n, L_ptr, lda, workspace_ptr,
                workspace_size, dev_info_ptr)

        // cusolver leaves the elements in the matrix outside the considered
        // upper or lower triangle unchanged, so we need to put zeros outside
        // the triangle
        
        with context:
            if self.lower:
                linalg.tril(L, overwrite=True, handle=context.cudnn_handle)

After Change


                context.cusolver_handle, l_parameter, n, L_ptr, lda, workspace_ptr,
                workspace_size, dev_info_ptr)

            val_dev_info = np.asarray(dev_info)[0]
            if val_dev_info > 0:
                raise LinAlgError("Cholesky decomposition failed (is A SPD?)")

        // cusolver leaves the elements in the matrix outside the considered
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Theano/Theano
Commit Name: 8289fc6b5874208d2281841a43eb4c4ca1c3424c
Time: 2017-04-07
Author: tfjgeorge@gmail.com
File Name: theano/gpuarray/linalg.py
Class Name: GpuCholesky
Method Name: perform


Project Name: statsmodels/statsmodels
Commit Name: 0d294ab613b7b6fff9bab00d2e8e94d531908d2e
Time: 2020-06-04
Author: samuel.scherrer@posteo.de
File Name: statsmodels/tsa/exponential_smoothing/ets.py
Class Name: ETSModel
Method Name: fit


Project Name: keras-team/keras
Commit Name: b95fcf7f52aca8ad0b1afb3cfc64c8eed534fafe
Time: 2017-07-29
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_nn_operations