view src/parallel_execution/plautogen/impl/CUDAWorker.h @ 571:d9c3bccaa13c

add semiron..
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 24 Nov 2019 22:55:33 +0900
parents 1233236c244d
children
line wrap: on
line source

typedef struct CUDAWorker <Type, Isa> impl Worker {
  CUdevice device;
  CUcontext cuCtx;
  struct Context* context;
  int id;
  int loopCounter;
  int deviceNum;
  struct Queue* tasks;
  int runFlag;
  __code next(...);
  int numStream;
  struct Executor* executor;
  CUstream *stream;
} CUDAWorker;