Untrusted GPGPU code (OpenCL etc) - is it safe? What risks?
        Posted  
        
            by 
                Grzegorz Wierzowiecki
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Grzegorz Wierzowiecki
        
        
        
        Published on 2011-01-08T19:40:35Z
        Indexed on 
            2011/01/08
            19:54 UTC
        
        
        Read the original article
        Hit count: 321
        
There are many approaches when it goes about running untrusted code on typical CPU : sandboxes, fake-roots, virtualization...
What about untrusted code for GPGPU (OpenCL,cuda or already compiled one) ?
Assuming that memory on graphics card is cleared before running such third-party untrusted code,
- are there any security risks?
 - What kind of risks?
 - Any way to prevent them ? (Possible sandboxing on gpgpu or other technique?)
 
P.S. I am more interested in gpu binary code level security rather than hight-level gpgpu programming language security (But those solutions are welcome as well). What I mean is that references to gpu opcodes (a.k.a machine code) are welcome.
© Stack Overflow or respective owner