code: public static String stringFor(int n)
      {
          switch (n)
          {
              case cudaGraphicsRegisterFlagsNone: return "cudaGraphicsRegisterFlagsNone";
              case cudaGraphicsRegisterFlagsReadOnly: return "cudaGraphicsRegisterFlagsReadOnly";
              case cudaGraphicsRegisterFlagsWriteDiscard: return "cudaGraphicsRegisterFlagsWriteDiscard";
              case cudaGraphicsRegisterFlagsSurfaceLoadStore: return "cudaGraphicsRegisterFlagsSurfaceLoadStore";
              case cudaGraphicsRegisterFlagsTextureGather: return "cudaGraphicsRegisterFlagsTextureGather";
          }
          return "INVALID cudaGraphicsRegisterFlags: "+n;
      }
docs: Returns the String identifying the given cudaGraphicsRegisterFlags
  
  @param n The cudaGraphicsRegisterFlags
  @return The String identifying the given cudaGraphicsRegisterFlags