[
https://issues.apache.org/jira/browse/ARROW-16478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533724#comment-17533724
]
Yibo Cai commented on ARROW-16478:
----------------------------------
*cpuinfo output on Arm64, Linux*
{code:bash}
$ ./cpu-info
Packages:
0: Unknown
Microarchitectures:
80x Neoverse-N1
Cores:
0: 1 processor (0), ARM Neoverse-N1
......
$ ./cache-info
Max cache size (upper bound): 4194304 bytes
L1 instruction cache: 80 x 64 KB, 4-way set associative (256 sets), 64 byte
lines, shared by 1 processors
L1 data cache: 80 x 64 KB, 4-way set associative (256 sets), 64 byte lines,
shared by 1 processors
L2 data cache: 256 KB (inclusive), 8-way set associative (512 sets), 64 byte
lines, shared by 80 processors
$ ./isa-info
Instruction sets:
ARM v8.1 atomics: yes
ARM v8.1 SQRDMLxH: yes
ARM v8.2 FP16 arithmetics: yes
ARM v8.2 BF16: no
ARM v8.3 dot product: yes
ARM v8.3 JS conversion: no
ARM v8.3 complex: no
SIMD extensions:
ARM SVE: no
ARM SVE BF16: no
ARM SVE 2: no
Cryptography extensions:
AES: yes
SHA1: yes
SHA2: yes
PMULL: yes
CRC32: yes
{code}
> [C++] cpu_info.cc fails clang-12 debug build on Arm
> ---------------------------------------------------
>
> Key: ARROW-16478
> URL: https://issues.apache.org/jira/browse/ARROW-16478
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Major
> Fix For: 9.0.0
>
>
> {code:bash}
> ../src/arrow/util/cpu_info.cc:124:13: error: implicit conversion loses
> integer precision: '__ssize_t' (aka 'long') to 'int'
> [-Werror,-Wshorten-64-to-32]
> int res = getline(&content, &file_len, cache_file);
> ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> {code}
> Not a blocking issue IMO.
> Looks there are more code needs refine in cpu_info.cc.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)