safeCall 96 samples/gpu/driver_api_multi.cpp safeCall(cuInit(0)); safeCall 100 samples/gpu/driver_api_multi.cpp safeCall(cuDeviceGet(&device, 0)); safeCall 101 samples/gpu/driver_api_multi.cpp safeCall(cuCtxCreate(&contexts[0], 0, device)); safeCall 104 samples/gpu/driver_api_multi.cpp safeCall(cuCtxPopCurrent(&prev_context)); safeCall 107 samples/gpu/driver_api_multi.cpp safeCall(cuDeviceGet(&device, 1)); safeCall 108 samples/gpu/driver_api_multi.cpp safeCall(cuCtxCreate(&contexts[1], 0, device)); safeCall 110 samples/gpu/driver_api_multi.cpp safeCall(cuCtxPopCurrent(&prev_context)); safeCall 124 samples/gpu/driver_api_multi.cpp safeCall(cuCtxPushCurrent(contexts[device_id])); safeCall 151 samples/gpu/driver_api_multi.cpp safeCall(cuCtxPopCurrent(&prev_context)); safeCall 157 samples/gpu/driver_api_multi.cpp safeCall(cuCtxDestroy(contexts[0])); safeCall 158 samples/gpu/driver_api_multi.cpp safeCall(cuCtxDestroy(contexts[1])); safeCall 76 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxPushCurrent(contexts[id])); safeCall 82 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxPopCurrent(&prev_context)); safeCall 148 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuInit(0)); safeCall 152 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuDeviceGet(&device, 0)); safeCall 153 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxCreate(&contexts[0], 0, device)); safeCall 157 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuDeviceGet(&device, 1)); safeCall 158 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxCreate(&contexts[1], 0, device)); safeCall 218 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxDestroy(contexts[0])); safeCall 219 samples/gpu/driver_api_stereo_multi.cpp safeCall(cuCtxDestroy(contexts[1]));