Skip to content

Commit

Permalink
Added Basic Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Trye1243 committed Apr 17, 2024
1 parent 898b194 commit 34233c3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Testing/cupyTesting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import cupy as np
import numpy as slow
import time

a = np.array([[3, 3, 3],[3, 3, 3],[3, 3, 3]])
a = np.add(a,a)
randomValues = np.random.random_sample((1000,1000))
start = time.time()
mean = np.mean(randomValues)
end = time.time()
print(start - end)

0 comments on commit 34233c3

Please sign in to comment.