| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,7 @@ INSTANTIATE_MEDIAN(unsigned char); | |||
| 32 | 32 | ||
| 33 | 33 | #undef INSTANTIATE_MEDIAN | |
| 34 | 34 | ||
| 35 | - AFAPI array median(const array& in, const dim_t dim) | ||
| 35 | + array median(const array& in, const dim_t dim) | ||
| 36 | 36 | { | |
| 37 | 37 | af_array temp = 0; | |
| 38 | 38 | AF_THROW(af_median(&temp, in.get(), getFNSD(dim, in.dims()))); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,8 @@ | |||
| 15 | 15 | namespace af | |
| 16 | 16 | { | |
| 17 | 17 | ||
| 18 | - AFAPI int end = -1; | ||
| 19 | - AFAPI seq span(af_span); | ||
| 18 | + int end = -1; | ||
| 19 | + seq span(af_span); | ||
| 20 | 20 | ||
| 21 | 21 | void seq::init(double begin, double end, double step) | |
| 22 | 22 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -67,20 +67,20 @@ namespace af { | |||
| 67 | 67 | ||
| 68 | 68 | static timer _timer_; | |
| 69 | 69 | ||
| 70 | - AFAPI timer timer::start() | ||
| 70 | + timer timer::start() | ||
| 71 | 71 | { | |
| 72 | 72 | return _timer_ = time_now(); | |
| 73 | 73 | } | |
| 74 | - AFAPI double timer::stop(timer start) | ||
| 74 | + double timer::stop(timer start) | ||
| 75 | 75 | { | |
| 76 | 76 | return time_seconds(start, time_now()); | |
| 77 | 77 | } | |
| 78 | - AFAPI double timer::stop() | ||
| 78 | + double timer::stop() | ||
| 79 | 79 | { | |
| 80 | 80 | return time_seconds(_timer_, time_now()); | |
| 81 | 81 | } | |
| 82 | 82 | ||
| 83 | - AFAPI double timeit(void(*fn)()) | ||
| 83 | + double timeit(void(*fn)()) | ||
| 84 | 84 | { | |
| 85 | 85 | // parameters | |
| 86 | 86 | int sample_trials = 3; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments