python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to fix Terra Rust Smart Contract OpenSSL Error
I am on windows 11. When i run "cargo install cargo-generate --features vendored-openssl" in cmd or powershell i receive:
error: failed to run custom build command for `openssl-sys v0.9.72`
...
TJ Jeffreys
Votes: 0
Answers: 1
Thrust is very slow for array reduction
I am trying to use thrust to reduce an array of 1M elements to a single value. My code is as follows:
#include<chrono>
#include<iostream>
#include<thrust/host_vector.h>
#include<...
thePhantom
Votes: 0
Answers: 1
What is the canonical way to compare memory ranges in the CPU and in the GPU
I have to contiguous ranges (pointer + size), one in the GPU and one in the CPU and I want to compare if they are equal.
What the canonical way to compare these ranges for equality?
my_cpu_type cpu; ...
alfC
Votes: 0
Answers: 2
What is the correct way to rebind a thrust pointer in thrust 11.5
I am using the CUDA thrust library inside a heavily templated library that depends a lot in template metafunctions to deduce related types.
In thrust 11.3, type thrust::cuda::allocator<T>::point...
alfC
Votes: 0
Answers: 0