Questions tagged [intel]
For issues related to Intel semiconductor chips and assemblies, Intel architectural features and ISA extensions, and Intel chips micro-architecture.
3,525
questions
0
votes
0
answers
29
views
Summing the elements of a __m256i vector [duplicate]
I am looking to sum the elements contained in a __m256i vector and extract the result in a int in C.
Basically, I am trying to achieve this, but using AVX:
sum += key[l] + key[l + 1] + key[l + 2] + ...
1
vote
0
answers
27
views
How to reconfigure the TDP of my N100 intel alder lake processor?
I have an N100 Intel Alder Lake processor, that can be configured to adhere to TDP of 6, 10 or 15 W. Intel calls this "TDP Up" and "TDP down" How do I do that?
N100 at Intel Ark
...
-1
votes
0
answers
16
views
During continuous process of fio test, SSD sequential read bandwidth will slows down [closed]
I am using fio to test NVMe SSD max sequential read bandwidth, following is my fio command arguments.
fio -direct=1 -filename=/dev/nvme0n1 -name=nvme0n1-read_bw -rw=rw -ioengine=io_uring -rwmixwrite=0 ...
0
votes
0
answers
30
views
How to solve SGX Exception 4012?
I have a SGX application that runs as a server
When i run the server i get error
org.whispersystems.contactdiscovery.enclave.SgxException: init_quote_before_create: 0x4012
checking this url https://...
0
votes
1
answer
41
views
Catboost runs correctly on onnx but does not work on OpenVINO
I tried to implement on OpenVINO a Catboost implemented by me, before I had to transform the Catboost to ONNX, I used the code found at the following link: https://catboost.ai/en/docs/concepts/apply-...
2
votes
1
answer
323
views
How to differentiate between Intel CPU generations in C++ at runtime?
SIMD has had an initialisation cost on Intel CPUs in the past. Because of this, I am looking for a way to distinguish at runtime in C++ which generation of Intel CPU is running my program.
Is there a ...
1
vote
0
answers
26
views
AdapterRAM property not showing correct value for discrete card
I’m trying to display the graphics card(Integrated & Discrete) related information using WMI in a c# application.
I’m using Win32_VideoController class in which AdapterRAM property will get the ...
-1
votes
0
answers
93
views
In the following scenario, why is there such a difference in execution time for the same code with different datasets?
The general situation is to search for a specific string from a dataset of 1 million strings, and to perform this search 100,000 times with different queries each time. The total execution time is ...
1
vote
0
answers
74
views
I'm wondering what the C# compiler is actually waiting on, when doing a compile in Visual Studio
I have a Windows machine with the following specs:
48 GB Ram (24 GB free)
8700K CPU, overclocked 27% & stable. 4.29 Ghz
7.5 GB/sec SSDs for the disk
1 Gbps Internet
2070 Nvidia ...
2
votes
0
answers
70
views
What x86 CPUs, if any, still have MOVDIRI or MOVDIR64b instructions?
I've recently been checking the Intel CPUs that I have access to.
None of them (they're all Xeons) have the MOVDIRI or MOVDIR64b instructions, which are store instructions that bypass the caches. Are ...
0
votes
1
answer
51
views
no element "vaapih264enc" in DLStreamer 2023.0 version
I would like to encode a live stream to H264.
I am running DLStreamer using Docker container using Windows. DLStreamer stopped supporting GPL encoders like x264enc, so we need to use HW supported ...
1
vote
2
answers
58
views
Intel Simics: VMP Kernel Installation fails (linux 22.04)
When I try to build/install the VMP kernel I receive the following error:
Setting up your system for Simics VMP
================================================
This step will be performed with root ...
0
votes
0
answers
43
views
How can I determine if my Intel CPU supports disabling prefetching through model specific registers?
I will be helping with a hardware security class in the spring, and I am currently setting up some of the labs for the class. One of the labs we are doing is a cache side-channels lab where we look at ...
0
votes
0
answers
54
views
OpenCL kernel -44 compilation error while using OpenGL context on Intel under Manjaro
Recently I've been trying to use OpenCL-OpenGL interop. After some trial and error I've found that I need to initialize OpenCL context providing it correct properties. I got it working under Manjaro ...
4
votes
0
answers
112
views
Why using non-temporal store instructions cannot reduce memory bandwidth usage? (Writes seem to be generating extra reads)
I want to use the non-temporary instruction to reduce the read bandwidth generated by write allocate during the memcpy process. The expected read and write bandwidth after optimization should be the ...
0
votes
0
answers
34
views
MCHBAR Base Address Register (MCHBAR_0_0_0_PCI) — Offset 48h
I'm trying to access the Secondary Plane Energy Status
(SECP_NRG_STTS_0_0_0_MCHBAR_PCU register.
The Intel documentation (https://www.intel.com/content/www/us/en/content-details/743846/13th-generation-...
0
votes
0
answers
37
views
'failed to load enclave' in hardware mode with Intel SGX
For the past few days, following the official guide (https://gramine.readthedocs.io/en/latest/devel/building.html) I've been trying to install Gramine in my laptop (HP EliteBook 840 G3, Intel Core i7-...
1
vote
1
answer
71
views
What's the difference between dispatching and issuing in CPU pipeline
In Software Optimization Guide for the AMD Zen4 Microarchitecture, the terminology are explained as follows:
Dispatching: Dispatching refers to the act of transferring macro ops from the front end of ...
0
votes
0
answers
23
views
How to Trigger a PCIe Non-CTO Non-Fatal Error?
I've been utilizing the einj tool to inject a Non-Fatal PCIe error with CTO. However, for my specific requirements, I'm looking to induce an error with the TLP Header, specifically either a POISON_TLP ...
0
votes
0
answers
22
views
Weird blinking of lights when trying to run the OWASPBWAP with one core count on laptop
I was trying to install OSWAP-BWA on my laptop. I initially started the processor core count with 1. After completing the configuration, I tried to start the application. The laptop started to blink ...
1
vote
1
answer
167
views
Is there any API to get GPU activity for Intel Arc Graphics card? I need to get them programmatically
I'm working in an c# windows application where it will show Discrete card related info like GPU activity, GPU fan and temperature parameters etc. For NVIDIA , AMD, we have NVAPI and ATL. But for Intel,...
0
votes
0
answers
45
views
DPDK 19.11.10: UDP checksum hardware offload for 1500Bytes is correct but UDP checksum hardware offload for 9000Bytes (JUMBO FRAME) is incorrect
I am working on DPDK 19.11.10 with intel NIC X710.
I am trying to calculate UDP checksum by offloading to hardware. UDP checksum is correct if packet size is 1500Bytes and UDP checksum is incorrect if ...
0
votes
0
answers
10
views
Intel Daos hadoop-daos jar missing from maven
Can someone guide me where to find the hadoop-daos jar with classifier - "protobuf3-netty4-shaded"? I tried to download using the official guide step, but it threw below error:
$ mvn ...
1
vote
0
answers
91
views
Hardware acceleration of color conversion and scaling using QSV with ffmpeg, libav
I used hardware decoding on an Intel processor using QuickSync based on this example.
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/qsv_decode.c
Then I use sws_scale to color convert from ...
1
vote
0
answers
49
views
Getting count of TLB misses that resulted in memory access in x86-64
I want to know the number of TLB misses that resulted in memory (DRAM) access. In "Intel(R) Xeon(R) W-2104" system, I can see perf counters like "dtlb_load_misses.miss_causes_a_walk&...
1
vote
1
answer
55
views
Errors when using Matlab mex
I am using Matlab 2023a to call Fortran source file using mex. I use the following compiler for Fortran language compilation:
Intel oneAPI 2023 for Fortran with Microsoft Visual Studio 2022.
The ...
2
votes
1
answer
110
views
Integrating a C Subfunction for Optimizing R Code
I have an existing R script that performs various operations, and I'm looking to create a C sub function to optimize a specific part of it. My goal is to integrate this C sub function within R Desktop ...
0
votes
2
answers
46
views
How to determine the number of memory loads generated by write allocate of cacheline?
According to this page and this page, a store miss to the L3 cache will occur first with a read operation, and in some cases can be avoided by non-temporal stores.
Is there a way (like some perf ...
0
votes
1
answer
118
views
If I run the same program multiple times will it precisely take same number of clock cycles?
Sorry for not being specific with the problem,
I need a way to calculate the exact number of clock cycles my algorithm takes, written in C,
-> I tried clock() and windows specific functions like ...
1
vote
0
answers
223
views
Intel OneAPI MPI MKL with AMD, is there an AMD flavor?
I've always happened to use Intel cpus in intel chipset based servers, as such have used Intel's MPI and MKL for the past 20 years that's all I kinda know. With their OneAPI I only need and use MPI, ...
0
votes
0
answers
46
views
Details about Protection Ring system
I'm studying about Protection Ring system.
Can you give me some details about operation of this system in CPU level?
Is it related to CPL?
why they use especially "4" level? why not 2 or 3....
0
votes
0
answers
23
views
Yocto morty build to emmc
I have created a Yocto build for my Kontron mal10. It works correctly, and I can flash my USB stick with the HDDIMG image using Win32DiskManager. The board then boots in live mode.
However, when I try ...
2
votes
1
answer
61
views
Triple fault does not put system into reset
Tried to issue platform reset via triple fault on my x86 based platform (Intel Cherry Trail x5 Z-8350), however platform just hangs. I see expected behavior on qemu - system reboots on triple fault.
...
0
votes
0
answers
24
views
SR-IOV: How do I view the communications between a VF and a PF?
I've got a VM using SR-IOV, and I'm trying to understand the communication flows between the VF on the VM and the PF on the underlying host. The VM is using the Intel AVF driver (iavf) and the host is ...
1
vote
0
answers
12
views
Can Intel Pin redirect the program execution? [duplicate]
Does Pin has the ability to redirect the execution on a wrong path? For example, if I have a program like:
if(expr)
{
// Do something
}
where expr evaluates to true, can I use Pin to force the ...
0
votes
0
answers
56
views
What's the meaning of _mm512_mask_loadunpacklo_epi32?
I'm a beginner with the AVX-512, when I read the source code for an open source program, I found the following codes:
__m512i vecData1;
__mmask16 vecMask;
int32_t *addrF = (int32_t *)_mm_malloc(sizeof(...
0
votes
0
answers
20
views
intel ACM execution
Please, i have a doubt about intel ACM that i can't clarify... the texts i have read, included some intel manuals, seeems to me a bit ambiguous and not absolutely clear.
I would like to know whether ...
0
votes
0
answers
18
views
How to abstract typical memory behavior from a complex multi-threaded workload?
There is a complex multi-threaded program running in my system, which performs various types of operations. At the same time, I cannot access its source code.
I want to analyze the potential impact of ...
0
votes
0
answers
76
views
How to access the Primary-to-Sideband Bridge (P2SB) on an Intel Series 400 PCH?
I'm trying to access the devices located behind the P2SB on an Intel Series 400 (comet lake) hub, via the SBREG_BAR from PCI device 31 function 1. All the registers come back as 1, however bit 8 (...
0
votes
0
answers
21
views
How do different monitoring tools calculate memory bandwidth?
For monitoring memory bandwidth, there is pcm-memory on the Intel platform and AMDuProf on the AMD platform.
How do they calculate memory bandwidth usage? Which PMUs were used?
Is it using 1024 or ...
1
vote
1
answer
62
views
Intel TSX: xbegin always returns 0
I am writing some programs which contains RTM transactional regions. I have checked my machine supports HLE and RTM using cpuid instruction. However, I notice that the xbegin instruction always ...
0
votes
0
answers
45
views
How does the first benchmark ran always results in lower latency?
I have a multithreaded application for which I am trying to improve the performance by changing which threads should be bound to which cores.
Firstly, I have some preprocessing step to figure out ...
0
votes
0
answers
37
views
Injecting Exceptions into the VMCS-PIR field
In x86 a VMM may use posted interrupts to signal an Interrupt to a VM (source). The detailed description can be found in Volume 3/29.6 (Posted Interrupt Processing).
According to the documentation, ...
0
votes
2
answers
102
views
Intel Server Unavailable after executing the code
I am on intel dev cloud and using Intel OneAPI. This is my code till now:
# first block of jupyter notebook
import modin.pandas as pd
# second block of jupyter notebook
df = pd.read_csv('dataset/...
1
vote
0
answers
32
views
Running/Building Yocto intel-core2-32 on 64-bit machine
I have been trying to run meta-intel Intel BSP intel-core2-32 on my 64-bit x86 hardware with 64-bit UEFI. I know that 64-bit UEFI will look only for bootx64.efi which gets produced and successfully ...
-1
votes
1
answer
26
views
MaOS 13.5 - Conda converting all channel file:///opt/intel/oneapi/conda_channel into intel channel
I have installed Intel oneAPI Toolkits (Base and HPC) and I have the following installed packages with "conda list" :
# conda list
# packages in environment at /opt/intel/oneapi/intelpython/...
0
votes
0
answers
36
views
How to launch without segfault an Intel python3.9 shell on macOS 13.5 Ventura
On MacOS Venture 13.5, I have installed Intel OneAPI Base and HPC toolkit and also Intel distribution of python3.9 ( python 3.9.7).
I have a strange behavior : if I execute a Python script, everything ...
0
votes
0
answers
47
views
How to repair on macOS 13.5 environment variables for a CONDA installlation with valid intelpython package
I have a good installation regarding Intel python3.9 with all modules loading perfectly.
However, I have a bad behavior with the conda part of Intel OneAPI : I can't even do a $ conda list or a $ ...
0
votes
2
answers
45
views
Can execution units belong to same port work simultaneously?
According to Intel Skylake architecture figure, one port can be linked with multiple execution units. Can these units work simultaneously?
For example, if an "integer vector multiplication ...
0
votes
0
answers
109
views
OSError: The specified module could not be found. Error loading C:\intel_extension_for_pytorch\bin\intel-ext-pt-gpu.dll"
I am using an Intel ARC A770 GPU.
I want to run my deep learning code on my local platform. I have installed intel_extension_for_pytorch. However, when I import the module, it gives me an error.
How ...