Skip to content

Commit

Permalink
Bring cstdint back (partly reverts #170)
Browse files Browse the repository at this point in the history
  • Loading branch information
chhwang committed Oct 8, 2023
1 parent bb41c4c commit bb337ba
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 20 deletions.
2 changes: 2 additions & 0 deletions include/mscclpp/poll.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#ifdef __CUDACC__

#include <cstdint>

extern "C" __device__ void __assert_fail(const char *__assertion, const char *__file, unsigned int __line,
const char *__function) __THROW;

Expand Down
7 changes: 0 additions & 7 deletions python/test/common.hpp

This file was deleted.

2 changes: 0 additions & 2 deletions python/test/d2d_semaphore_test.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include <mscclpp/semaphore_device.hpp>

// be careful about using semaphore[my_rank] as it is an invalid semaphore and it is there just for simplicity of
Expand Down
4 changes: 1 addition & 3 deletions python/test/fifo_test.cu
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include "mscclpp/fifo_device.hpp"
#include <mscclpp/fifo_device.hpp>

extern "C" __global__ void __launch_bounds__(1024, 1) fifo(mscclpp::FifoDeviceHandle fifo) {
mscclpp::ProxyTrigger trigger;
Expand Down
2 changes: 0 additions & 2 deletions python/test/h2d_semaphore_test.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include <mscclpp/semaphore_device.hpp>

// be careful about using semaphore[my_rank] as it is an invalid semaphore and it is there just for simplicity of
Expand Down
2 changes: 0 additions & 2 deletions python/test/proxy_test.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include <mscclpp/fifo_device.hpp>
#include <mscclpp/semaphore_device.hpp>

Expand Down
2 changes: 0 additions & 2 deletions python/test/simple_proxy_channel_test.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include <mscclpp/packet.hpp>
#include <mscclpp/proxy_channel_device.hpp>

Expand Down
2 changes: 0 additions & 2 deletions python/test/sm_channel_test.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

#include "common.hpp"
// other headers
#include <mscclpp/sm_channel_device.hpp>

// be careful about using channels[my_rank] as it is inavlie and it is there just for simplicity of indexing
Expand Down

0 comments on commit bb337ba

Please sign in to comment.