Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ IpcChannel::~IpcChannel() {
}

void IpcChannel::send_fd(int dst_pid, int fd) {
// Because file descriptors are process-local kernel objects, and we cant
// Because file descriptors are process-local kernel objects, and we can't
// pass them via normal socket payloads (like write() or send()). Unix domain
// sockets provide a mechanism to pass actual FDs via sendmsg()/recvmsg().
// Define destination socket address
Expand Down Expand Up @@ -251,12 +251,6 @@ void map_block(
0,
reinterpret_cast<hipMemGenericAllocationHandle_t>(handle),
0ULL));
C10_CUDA_CHECK(hipMemMap(
*ptr,
size,
0,
reinterpret_cast<hipMemGenericAllocationHandle_t>(handle),
0ULL));

hipMemAccessDesc desc;
desc.location.type = hipMemLocationTypeDevice;
Expand Down