Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/mac os install inst #3

Merged
merged 5 commits into from
Jan 3, 2021
Merged

Conversation

bjoo
Copy link
Contributor

@bjoo bjoo commented Dec 31, 2020

Hi @AlexVlx
I had a go with some MacOS instructions using Homebrew for GCC-10, CMake, Git, and TBB.
This PR has an edited gcc_macos.md file which records my experiences

Some issues on my MacOS:

  • I do get one set of compile time warnings related to using memcpy to copy the half precision struct
  • I get some warning related to #pragma unroll not being supported.
  • Once built, the legacy-async-memcpy test appears to hang.

Would you like me to raise these as concrete GitHub issues?

I am happy to contribute these instructions as a starting point for others, do you by chance have a 'develop' branch I can submit the PRs to rather than the main branch?

With best wishes,
Balint

Copy link
Collaborator

@AlexVlx AlexVlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general, modulo the minor nitpicks, thank you very much for contributing this. I think the point about TBB not being required in macOS is a fairly interesting one, which warrants further investigation. It's definitely very curious as the dependency on TBB is still there for libc++ and libstdc++.


3. Install [Intel TBB](https://github.com/oneapi-src/oneTBB):
- At this time this is a pre-requisite for CPU-HIP (makefiles depend on it)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please use HIP-CPU and not CPU-HIP here? Thank you.

executables as gcc-10 and g++-10

3. Install [Intel TBB](https://github.com/oneapi-src/oneTBB):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we can separate the investigation into whether or not TBB is required on macOS into a separate issue? It's ideal to have as few dependencies as possible, but the wording here could confuse users into believing that libstdc++ no longer depends on TBB in general, which is not quite yet the case as far as I can tell.

@AlexVlx
Copy link
Collaborator

AlexVlx commented Jan 1, 2021

@bjoo regarding the three problems, it would be lovely if you could create separate issues. The first two are known and benign (still require addressing, since they are noisy), the third had crept up in the CI actions and is most definitely a bother. I had (optimistically) assumed that it might be tied to the macOS VM used by GitHub and punted on looking into it, but since you're seeing it it's clearly more widespread. Thank you. Cheers!

Requested CPU-HIP -> HIP-CPU Typo Correction. Thanks for the catch @AlexVlx
@bjoo
Copy link
Contributor Author

bjoo commented Jan 1, 2021 via email

@AlexVlx AlexVlx merged commit 8c5a990 into ROCm:master Jan 3, 2021
@AlexVlx
Copy link
Collaborator

AlexVlx commented Jan 3, 2021

Thank you, Happy New Year to you too!

@bjoo
Copy link
Contributor Author

bjoo commented Jan 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants