island-org/island

How following code use?

alpha-xue opened this issue · 1 comments

May I know how following code use? as you never defin variable cuContext and &cuCtxSetCurrent and so on. Can it compile through?

133 bind.context = cuContext;
134 bind.CtxSetCurrent = &cuCtxSetCurrent;
135 bind.CtxGetCurrent = &cuCtxGetCurrent;
136 bind.EventCreate = &cuEventCreate;
137 bind.EventDestroy = &cuEventDestroy;
138 bind.EventRecord = &cuEventRecord;
139 bind.EventQuery = &cuEventQuery;
140 bind.EventElapsedTime = &cuEventElapsedTime;
141 rmt_BindCUDA(&bind);
142
143 rmt_BindOpenGL();

Thanks,
Alpha