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

Up-to-date FreeBSD support #230

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yurivict
Copy link

Same as #172, updated to the latest cpuinfo revision.

Copy link
Contributor

@fbarchard fbarchard left a comment

Choose a reason for hiding this comment

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

I'm not an expert in the OS layer. The code looks okay. Is it necessary to have freebsd instead of linux?

@yurivict
Copy link
Author

yurivict commented Apr 18, 2024

@Maratyszcza

Hi Marat,

This is an updated pull request that works fine on FreeBSD.
The FreeBSD port replaces cpuinfo with this revision and PyTorch works fine.

Could you please merge it?

Thanks,
Yuri

@martymac
Copy link

martymac commented May 6, 2024

Hello,

Any news on that PR ? FYI, I used it to update our pcsx2 port and it works fine here.

Cheers,

Ganael.

goto cleanup;
}
packages =
calloc(freebsd_topology.packages, sizeof(struct cpuinfo_package));
Copy link
Contributor

Choose a reason for hiding this comment

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

Is packages the reason you're wanting a branch from linux?
The latest linux kernel on android and riscv requires packages support so it would be best to use common code to avoid freebsd diverging in the future.

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

Successfully merging this pull request may close these issues.

4 participants