I would like to know if I can work with Nvidia Tesla K20 and Direct3D 11?
I'd like to render an image using Direct3D, Then process the rendered image with CUDA, [ I know how to work out the CUDA interoperability].
Tesla k20 doesn't have a display adapter (physically remote adapter )
I managed to do so with Tesla C2075, however with K20 I can't receive the device adapter ( EnumAdapters command ).
Is it possible to work with Tesla K20 and Direct3D ?
Frankly speaking, this code was written in notepad
Thanks
IDXGIFactory* factory = 0 ;
IDXGIAdapter* adapter = 0 ;
int dev = 0;
CreateDXGIFactory( __uuidof(IDXGIFactory) , (void**)&factory);
for (unsigned int i = 0 ; !adapter ; ++i )
{
if ( FAILED( factory->EnumAdapters (i , &adapter )))
break;
if ( cudaD3D11GetDevice(&dev , adapter) == cudaSuccess )
break;
adapter->Release()
}