Révision 275 ETSN/MyDFT_5.py
MyDFT_5.py (revision 275) | ||
---|---|---|
112 | 112 |
Elapsed=time.time()-TimeIn |
113 | 113 |
print("Copy from Device 2 Host : %.3f" % Elapsed) |
114 | 114 |
|
115 |
# Liberation of memory |
|
116 |
a_g.release() |
|
117 |
b_g.release() |
|
118 |
A_g.release() |
|
119 |
B_g.release() |
|
120 |
|
|
115 | 121 |
return(A_ocl,B_ocl) |
116 | 122 |
|
117 | 123 |
# CUDA Silly complete operation |
Formats disponibles : Unified diff