Skip to content

Conversation

@loganthomas
Copy link
Contributor

Closes #4

import numpy as np
from cubyc import Run

@Run(tags=['linear_algebra'], branch='logan-test')
def matrix_multiplication(n_size: int):
    A = np.random.rand(n_size, n_size)
    B = np.random.rand(n_size, n_size)

    _ = np.dot(A, B)

for n_size in [5, 7, 9]:
    matrix_multiplication(n_size=n_size)

I would have updated the docs, but couldn't find where they were built.

@safranchik safranchik self-assigned this Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to run on explicit branch name

2 participants