Hadrien G.
Hadrien G.
@nikomatsakis This does not quite belong to this thread, but I haven't found another place to discuss those meeting notes. Please point me to one, if any. I think there...
But see also https://github.com/dtolnay/rust-toolchain/issues/95 for a possible caveat.
Related: https://github.com/spack/spack/pull/8738 .
Here is something I recently got out of verrou_dd which illustrates this problem pretty well: ``` dd: done ddmax: _ZN5Eigen8internal17abs2_impl_defaultIdLb0EE3runERKd /root/acts-core/spack-build/Tests/Integration/PropagationTests _ZN5Eigen8internal4paddIDv2_dEET_RKS3_S5_ /root/acts-core/spack-build/Tests/Integration/PropagationTests _ZN5Eigen8internal4pdivIDv2_dEET_RKS3_S5_ /root/acts-core/spack-build/Tests/Integration/PropagationTests _ZN5Eigen8internal4pmulIDv2_dEET_RKS3_S5_ /root/acts-core/spack-build/Tests/Integration/PropagationTests _ZN5Eigen8internal4psubIDv2_dEET_RKS3_S5_ /root/acts-core/spack-build/Tests/Integration/PropagationTests _ZN5Eigen8internal6preduxIDv2_dEENS0_15unpacket_traitsIT_E4typeERKS4_...
Another possible (complementary) strategy is to use the [pre-built binaries provided by LLVM contributors](https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.2) for various hardware + OS combinations. They contain way more than we need, but extracting the...
LWN recently published another interesting article on what to put inside of a contribution policy (requires subscription): https://lwn.net/Articles/971817/ .
That actually looks quite Linux specific. Also, at the time of writing, [there is no safe way to create a libc::cpu_set_t](https://docs.rs/libc/0.2.139/libc/struct.cpu_set_t.html), which means that interfacing `hwloc_cpuset_to_glibc_sched_affinity()` would require some use...
Ah, well, I see, the issue is that the cpu_set_t of one libc may theoretically not match that of another libc. Then indeed, we need cfg(all(target_os = "linux", target_env =...
Unfortunately, with the libc crate in its current state, it is not possible to implement this, because the hwloc functions are static functions (so we need to rewrite them in...
I must admit that the use case for this (topology diff that only works in simple cases and errors out otherwise) is a bit unclear to me at the moment....