Код: Выделить всё
#ifndef GRAPH
#define GRAPH
#include "Sine.h"
#include "CSV.h"
#include
#include
namespace graph {
class Graph {
public:
Graph(int resolution, writer::CSV& store);
void Place(producer::Sine pointproducer, int x, int y);
void Run(int epochs, int stepsize);
private:
std::vector
producers;
std::vector positions;
thrust::device_vector grid;
Источник: [url]https://stackoverflow.com/questions/78159728/thrust-device-vector-wont-compile[/url]
Мобильная версия