Skip to content

Up-to-date FreeBSD support#230

Open
yurivict wants to merge 1 commit into
pytorch:mainfrom
yurivict:FreeBSD_support
Open

Up-to-date FreeBSD support#230
yurivict wants to merge 1 commit into
pytorch:mainfrom
yurivict:FreeBSD_support

Conversation

@yurivict

Copy link
Copy Markdown

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

@fbarchard fbarchard left a comment

Copy link
Copy Markdown
Contributor

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

yurivict commented Apr 18, 2024

Copy link
Copy Markdown
Author

@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

martymac commented May 6, 2024

Copy link
Copy Markdown

Hello,

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

Cheers,

Ganael.

Comment thread src/x86/freebsd/init.c
goto cleanup;
}
packages =
calloc(freebsd_topology.packages, sizeof(struct cpuinfo_package));

Copy link
Copy Markdown
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