code: public static String stringFor(int n)
      {
          if (n == 0)
          {
              return "INVALID CUmemAttach_flags: "+n;
          }
          String result = "";
          if ((n & CU_MEM_ATTACH_GLOBAL) != 0) result += "CU_MEM_ATTACH_GLOBAL ";
          if ((n & CU_MEM_ATTACH_HOST) != 0) result += "CU_MEM_ATTACH_HOST ";
          if ((n & CU_MEM_ATTACH_SINGLE) != 0) result += "CU_MEM_ATTACH_SINGLE ";
          return result;
      }
docs: Returns the String identifying the given CUmemAttach_flags
  
  @param n The CUmemAttach_flags
  @return The String identifying the given CUmemAttach_flags