code: public static String stringFor(int n)
      {
          if (n == 0)
          {
              return "CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE";
          }
          String result = "";
          if ((n & CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY    ) != 0) result += "CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY ";
          if ((n & CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD) != 0) result += "CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD ";
          return result;
      }
docs: Returns the String identifying the given CUgraphicsMapResourceFlags
  
  @param n The CUgraphicsMapResourceFlags
  @return The String identifying the given CUgraphicsMapResourceFlags