Results 1 to 4 of 4

Thread: Kernel's source code protection

  1. #1

    Kernel's source code protection

    Navigating by the Intel's OpenCL forums I found this:

    http://software.intel.com/en-us/foru...ad.php?t=79833

    It's a thread talking about encrypting OpenCL kernel's source.

    I agree that currently we have a problem: it's very easy to get your source code so it will be very easy for a hacker to get it. Think that many companies are placing comments and IP inside that source code so I think will be good to design a way to make hacker's life a bit harder in this aspect ( there is no perfect solution and all can be hacked but.... )

  2. #2

    Re: Kernel's source code protection

    Btw, to precompile the kernels it's not good for me because we must deal with 60 different types of GPUs ( 30 NVIDIA models + 30 ATI models, etc... ).... and currently, precompiled kernels are a bit buggy.

  3. #3
    Junior Member
    Join Date
    Dec 2010
    Posts
    18

    Re: Kernel's source code protection

    It would be nice if Khronos created some sort of 'generic' portable asm like Microsoft has in DirectCompute to avoid these problems. With OpenGL 2 a lot of game companies use the ARB shader asm feature.

    It may be possible to write an OpenCL obfusicator similar to all those ones for JavaScript.

  4. #4

    Re: Kernel's source code protection

    Well, that or force all the OpenCL implementors to have a tool like Intel's:



    But add an option to pre-compile for ALL the devices supported by the platform ( for example, in case of NVIDIA, for all the G80, GT200 and Fermi devices ). If you precompile just for one/a few then your kernel could not run if the user plugs in other card.
    And, ofc, that tool should be updated as soon as possible an IHV releases a new card type.

Similar Threads

  1. Replies: 8
    Last Post: 05-23-2012, 02:53 AM
  2. OpenVG source code
    By chandrasekhar in forum OpenVG and VGU
    Replies: 1
    Last Post: 10-24-2007, 11:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •