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

get_cpu() and get_platform_info() do not work correctly on PowerPC #48

Open
barracuda156 opened this issue Apr 12, 2023 · 1 comment
Open

Comments

@barracuda156
Copy link

Benchmarks run fine, however CPU and other system info are not picked:

> get_cpu()
$vendor_id
character(0)

$model_name
character(0)

$no_of_cores
[1] 2

> get_platform_info()
$OS.type
[1] "unix"

$file.sep
[1] "/"

$dynlib.ext
[1] ".so"

$GUI
[1] "X11"

$endian
[1] "big"

$pkgType
[1] "source"

$path.sep
[1] ":"

$r_arch
[1] ""

> get_r_version()
$platform
[1] "powerpc-apple-darwin10.0.0d2"

$arch
[1] "powerpc"

$os
[1] "darwin10.0.0d2"

$system
[1] "powerpc, darwin10.0.0d2"

$status
[1] ""

$major
[1] "4"

$minor
[1] "2.3"

$year
[1] "2023"

$month
[1] "03"

$day
[1] "15"

$`svn rev`
[1] "83980"

$language
[1] "R"

$version.string
[1] "R version 4.2.3 (2023-03-15)"

$nickname
[1] "Shortstop Beagle"
@alemobile
Copy link

I also have problems wiht get_cpu().

My CPU is an AMD Ryzen 7 PRO 8840HS. I have Windows 11 x64 24H2 Build 26100.2161, and R version 4.4.1.

The output of get_cpu() is:

Unable to detect your CPU. Please raise an issue at https://github.com/csgillespie/benchmarkme
$vendor_id [1] NA

$model_name [1] NA

$no_of_cores [1] 16

The number of cores should be 8, 16 is the number of threads.

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

No branches or pull requests

2 participants