code: public static String stringFor(int k)
      {
          switch (k)
          {
              case cudaMemAdviseSetReadMostly : return "cudaMemAdviseSetReadMostly";
              case cudaMemAdviseUnsetReadMostly : return "cudaMemAdviseUnsetReadMostly";
              case cudaMemAdviseSetPreferredLocation : return "cudaMemAdviseSetPreferredLocation";
              case cudaMemAdviseUnsetPreferredLocation : return "cudaMemAdviseUnsetPreferredLocation";
              case cudaMemAdviseSetAccessedBy : return "cudaMemAdviseSetAccessedBy";
              case cudaMemAdviseUnsetAccessedBy : return "cudaMemAdviseUnsetAccessedBy";
          }
          return "INVALID cudaMemoryAdvise: "+k;
      }
docs: Returns the String identifying the given cudaMemoryAdvise
  
  @param k The cudaMemoryAdvise
  @return The String identifying the given cudaMemoryAdvise