FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Removed AFAPI attribute declaration where no needed for func definitions · arrayfire/arrayfire@aa5b8ae · GitHub

Repository navigation

Commit aa5b8ae

Browse files
committed
Removed AFAPI attribute declaration where no needed for func definitions
1 parent 7e46c54 commit aa5b8ae

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎src/api/cpp/median.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ INSTANTIATE_MEDIAN(unsigned char);
3232

3333
#undef INSTANTIATE_MEDIAN
3434

35-
AFAPI array median(const array& in, const dim_t dim)
35+
array median(const array& in, const dim_t dim)
3636
{
3737
af_array temp = 0;
3838
AF_THROW(af_median(&temp, in.get(), getFNSD(dim, in.dims())));

‎src/api/cpp/seq.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
namespace af
1616
{
1717

18-
AFAPI int end = -1;
19-
AFAPI seq span(af_span);
18+
int end = -1;
19+
seq span(af_span);
2020

2121
void seq::init(double begin, double end, double step)
2222
{

‎src/api/cpp/timing.cpp‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ namespace af {
6767

6868
static timer _timer_;
6969

70-
AFAPI timer timer::start()
70+
timer timer::start()
7171
{
7272
return _timer_ = time_now();
7373
}
74-
AFAPI double timer::stop(timer start)
74+
double timer::stop(timer start)
7575
{
7676
return time_seconds(start, time_now());
7777
}
78-
AFAPI double timer::stop()
78+
double timer::stop()
7979
{
8080
return time_seconds(_timer_, time_now());
8181
}
8282

83-
AFAPI double timeit(void(*fn)())
83+
double timeit(void(*fn)())
8484
{
8585
// parameters
8686
int sample_trials = 3;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL