Questions tagged [offloading]

This tag is for questions about software which utilize mechanisms for reducing workload from the CPU. This can be done by aggregating work before further processing is done and/or processing some of the workload in a dedicated hardware.

This tag is for questions about software which utilize mechanisms for reducing workload from the CPU. This can be done by aggregating work before further processing is done and/or processing some of the workload in a dedicated hardware.

Common offloads are network stack offloads such as LRO, GRO, TSO, etc. Other offloads are CPU offloads such as Intel's AES-NI for IPSec.

Offloads can be multi-layered, for example OVS (Open Virtual Switch) has a service for identifying and creating steering rules for packets. The user space service will offload the steering to the kernel software. Specific hardware can process the steering itself, so the kernel might offload to the hardware.

Common questions about offloads

  • How does specific offloads work?
  • How to enable offloads for specific cases?
  • What is the benefit of using specific offload?
111 questions
0
votes
2 answers

How to compile knn in pyMIC for Xeon Phi

I am trying to compile a modified mlpack knn_example.cpp example for the Xeon Phi Knights Corner. It uses mlpack library and also the Armadillo c++ libraries. It seems to compile successfully however when I run the pymic code, it throws the…
KKel
  • 61
  • 6
0
votes
0 answers

How can I parallelize simple operations across multiple devices?

I've written some simple code using Android Studio tool. The code I've written enables four simple operations as follows: Add two numbers Subtract one number from another Multiply two numbers Divide two numbers I want to parallelize and run each…
0
votes
1 answer

Memory Mapping in Clang OpenMP offloading to GPU

I have some questions related to OpenMP offloading in clang. 1.When clang offloads a certain code segment to a NVIDIA GPU how the data will be mapped to the GPU? 2.How it will decide which data to be mapped to the "shared memory" region in NVIDIA…
Pasindu
  • 81
  • 8
0
votes
0 answers

SSL Offloading on kubernetes ingress not working with Magnolia

Im currently trying to deploy a magnolia instance, running in kubernetes. We want to SSL offload on ingress level, but apparently we have some issues, with the login to Magnolia UI. If we are not using an ingress, it just works fine. I assume, that…
lunatikz
  • 716
  • 1
  • 11
  • 27
0
votes
1 answer

How to map a data with openmp target to use inside a function?

I would like to know how can I map a data for future use inside of a function? I wrote some code like the following: struct { int* a; int *b; // other members... } s; void func1(struct s* _s){ int a* = _s->a; int b* = _s->b; …
648trindade
  • 689
  • 2
  • 5
  • 21
0
votes
0 answers

GCC compile error

I am trying to build and run GCC. After trying to build it a couple different ways I got it to build, however when I try to compile code (example:) gcc -fopenacc -foffload=nvptx-none -o foo foo.c with it I get this error: lto-wrapper fatal error…
meh93
  • 311
  • 4
  • 13
0
votes
1 answer

Translating Intel's #pragma offload to OpenMP for Xeon Phi (performance issues and other questions)

I use Intel C++ compiler 17.0.01, and I have two code blocks. The first code block allocates memory on Xeon Phi like this: #pragma offload target(mic:1) nocopy(data[0:size]: alloc_if(1) free_if(0)) The second block evaluates the above memory and…
AstrOne
  • 3,569
  • 7
  • 32
  • 54
0
votes
1 answer

How to offload modular exponentiation to Octeon II Crypto Coprocessor

Is it possible to offload modular exponentiation required in RSA and Diffie-Hellman to Hardware (Crypto Co-processor) that comes with Octeon II platform. In some document, I have seen that Octeon II platform do support that. But, I am not getting…
debapriyay
  • 71
  • 1
  • 3
0
votes
1 answer

Offload into MIC (Xeon Phi) error iterating over loaded array

I have problems when offloading some datastructures to my MIC. I am offloading into MIC with the following directives: #pragma offload target(mic:mic_no)\ inout(is_selected : length(query_sequences_count)ALLOC)\ in(a:length(a_size)…
Felipe Sulser
  • 1,185
  • 8
  • 19
0
votes
1 answer

How can I use Application Gateway to make load balancing to external URLs?

My company wants something like the Application Gateway to be a scalable entrypoint of all incoming requests, with SSL offloading, and balance those requests to external web servers, which are not on our Azure subscription, but belong to the…
0
votes
0 answers

Offload data independent

I have problem with my project. I try to send data to be independent on xeon phi from CPU. int test=5; #pragma offload target(mic0) in(test) { test=3; } printf("test equals %i", test); And result is 3. I don't understand this, the test…
Lukasz
  • 1
0
votes
1 answer

Intel MIC - offload error: data transfer

I have a problem with transfer data from a Intel Xeon Phi coprocessor to host CPU. I try to implement a computation using offload model. At the beginning of my computation I transfer all data to a coprocessor (one array). After computation I want to…
JudgeDeath
  • 151
  • 1
  • 2
  • 9
0
votes
1 answer

Offloading to intel MIC using aligned data

When I compile the code below, i get the warning: src/parallel_hashing.cpp(50): warning #3218: *MIC* class/struct may fail when offloaded because this field is misaligned or contains data that is misaligned __declspec(align(64)) list
user2375340
  • 87
  • 1
  • 2
  • 9
0
votes
1 answer

Not getting https = on in $_SERVER PHP ,Codigniter, Server behind Load Balancer

I hit the domain by : https://domainname.com, here is the $_SERVER response for it Array ( [UNIQUE_ID] => VcmHo6LRO1IAAB-fDU0AAAAK [SCRIPT_URL] => / [SCRIPT_URI] => http://DOMAIN/ [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64)…
Vivek Tankaria
  • 1,301
  • 2
  • 15
  • 35
0
votes
1 answer

Intel Xeon Phi offload code + STL vector

i would like to copy data stored in STL vector to Intel Xeon Phi coprocessor. In my code, I created class which contains vector with data needed to computation. I want to create class object on host, initialize data on host too and then I want to…
JudgeDeath
  • 151
  • 1
  • 2
  • 9