Skip to content

Commit

Permalink
Move socket header to utils.h
Browse files Browse the repository at this point in the history
  • Loading branch information
gordicaleksa committed Jun 26, 2024
1 parent 5f5427f commit d1c5b53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions llmc/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// implementation of dirent for Windows is in dev/unistd.h
#ifndef _WIN32
#include <dirent.h>
#include <arpa/inet.h>
#else
#include <winsock2.h>
#endif
Expand Down
6 changes: 0 additions & 6 deletions llmc/zero.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ Utilities for ZeRO sharding
#ifndef LLMC_ZERO_CUH
#define LLMC_ZERO_CUH

#ifdef _WIN32
#include <winsock2.h>
#else
#include <arpa/inet.h>
#endif

#include <cuda_runtime_api.h>
#include <stdint.h>
#include <stdlib.h>
Expand Down

0 comments on commit d1c5b53

Please sign in to comment.