Category "c++"

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

OpenCL: Is 64 bit global_id() not supported?

I'm an OpenCL newbie and I cannot return 64 bit values from the compiled kernel. What do I wrong? I have an Intel(R) HD Graphics 520 graphics card and I wanted

Terminate called after throwing an instance of 'std::invalid_arguement'

I'm trying to create a program that has the user select a starting location from a list of vectors, select a destination from that same list using vec.push_back

Understand Hooked syscalls - Do win32 api always call system ones in ntdll.dll?

I wrote a keylogger that hooks keystrokes. I learned about the AV's detection with hooked syscall and wanted to know if my keyboard hook is si

More efficient way to get indices of a binary mask in Eigen3?

I currently have a bool mask vector generated in Eigen. I would like to use this binary mask similar as in Python numpy, where depending on the True value, i ge

Edit Voice data on onEditPlaybackVoiceDataEvent(teamspeak)

How can i access & modify the voice data at the "onEditPlaybackVoiceDataEvent" event, i want to add voice filters over the voice of other users. TS Docs: vo

Dynamically allocated structures are well initialised?

For POD structure, could new Demo_Class[CONST_NUMBER]() guarantee the dynamically allocated structures are well initialised(i.e. not garbage) in C++11 and after

Emulating Polymorphism without virtual pointers/overhead

Before reading I must emphasise I have demanding performance requirements (not premature optimization- processing millions of messages and need to design with p

QWebEngineView SOCKS5 proxy with authorization

Is there any way to make QWebEngineView work with SOCKS5 with authorization? I tried connecting QWebEnginePage::proxyAuthenticationRequired signal to my slot, b

Why does an optional argument in a template constructor for enable_if help the compiler to deduce the template parameter? [duplicate]

The minimal example is rather short: #include <iostream> #include <array> #include <type_traits> struct Foo{ //template

Installation error OpenCV 4.5.5 from source code in Windows

I was trying to install OpenCV-4.5.5 from source on my windows machine. This machine has the latest Nvidia drivers as well as CUDA 11.6, I did not run into any

Does passing a `unique_ptr` by value have a performance penalty compared to a plain pointer?

Common wisdom is that std::unique_ptr does not introduce a performance penalty (and not a memory penalty when not using a deleter parameter), but I recently stu

Gazebo how can i change model weigth during runtime?

I want to decrease model weigth in runtime. I am currently working on a plugin but it doesn't seem to work. I am using iris model with pixhawk 4 sitl. My purpos

asio::thread created in object with global scope causes strange behavior, but not if it is created in main

I have been battling a problem for a day or so and "solved" it but I wonder if anyone knows why it must be so, or whether I have just hacked my way around a dee