gpu (Calls: 10093, Time: 8.665 s)
Generated 19-Jun-2021 04:01:57 using performance time.
function in file /nfs/inm_phd/07/d07944009/2021/0618-proj6/simpleNN/MATLAB/cnn/gpu.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
train>init_model | subfunction | 8 |
find_index_phiZ | function | 24 |
fungrad_minibatch | function | 48 |
lossgrad_subset | function | 649 |
feedforward | function | 649 |
padding_and_phiZ>padding | subfunction | 3243 |
maxpooling | function | 3243 |
vTP | function | 1710 |
CG | function | 15 |
CG>R_JTBJv | subfunction | 72 |
Jv | function | 432 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
14 | M = fun_arr(dim, float_type); | 4247 | 7.964 s | 91.9% | ![]() |
3 | global gpu_use | 10093 | 0.461 s | 5.3% | ![]() |
4 | global float_type | 10093 | 0.073 s | 0.8% | ![]() |
18 | end | 10093 | 0.045 s | 0.5% | ![]() |
6 | if gpu_use | 10093 | 0.014 s | 0.2% | ![]() |
All other lines | 0.108 s | 1.2% | ![]() | ||
Totals | 8.665 s | 100% |
Total lines in function | 18 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 15 |
Code lines that did run | 10 |
Code lines that did not run | 5 |
Coverage (did run/can run) | 66.67 % |
Other subfunctions in this file are not included in this listing.