Skip to content

Commit

Permalink
Lint fix take 1
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Volzka <cjvolzka@us.ibm.com>
  • Loading branch information
cjvolzka committed Apr 5, 2024
1 parent 003d142 commit 2a98a92
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/Accelerators/NNPA/Runtime/zDNNExtension/Elementwise.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

// z/OS specific includes
#ifdef __MVS__
// needed for pthread on z/OS
#define _OPEN_THREADS
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
// needed for pthread on z/OS
#define _OPEN_THREADS
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
#endif

#include <assert.h>
Expand Down
12 changes: 6 additions & 6 deletions src/Accelerators/NNPA/Runtime/zDNNExtension/MatMul.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

// z/OS specific includes
#ifdef __MVS__
// special treatment for pthreads on z/OS.
#define _OPEN_THREADS
#define _OPEN_SYS_EXT
#include <sys/ps.h>
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
// special treatment for pthreads on z/OS.
#define _OPEN_THREADS
#define _OPEN_SYS_EXT
#include <sys/ps.h>
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
#endif

#include <assert.h>
Expand Down
8 changes: 4 additions & 4 deletions src/Accelerators/NNPA/Runtime/zDNNExtension/Softmax.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

// z/OS specific includes
#ifdef __MVS__
// needed for pthread on z/OS
#define _OPEN_THREADS
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
// needed for pthread on z/OS
#define _OPEN_THREADS
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
#endif

#include <assert.h>
Expand Down
4 changes: 2 additions & 2 deletions src/Accelerators/NNPA/Runtime/zDNNExtension/zDNNExtension.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

// z/OS specific includes
#ifdef __MVS__
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
// z/OS needs <time.h> in addition to <sys/time.h>
#include <time.h>
#endif

#include <stdlib.h>
Expand Down

0 comments on commit 2a98a92

Please sign in to comment.