microsoft / microsoft/msccl

Compilation failure

Open
#55 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
399
Forks
36
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I failed the build, with uint64_t undefined.
After #include <cstdint> in src/include/collectives.h it works.
Maybe there should be a better way.

../../include/collectives.h(18): error: identifier "uint64_t" is undefined
    uint64_t scalarArg;
    ^
1 error detected in the compilation of "custom_collective.cu".
make[2]: *** [/home/ubuntu/jihao/msccl/build/obj/collectives/device/Makefile.rules:2274: /home/ubuntu/jihao/msccl/build/obj/collectives/device/custom_collective_max_i64.o] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/include/collectives.h and reproduce the compilation failure involving the undefined uint64_t in custom_collective.cu. Check the header's includes and build again after the change; done means the affected compilation no longer reports uint64_t as undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.