code: public void setName(String nameString)
      {
          byte bytes[] = nameString.getBytes();
          int n = Math.min(name.length, bytes.length);
          System.arraycopy(bytes, 0, name, 0, n);
      }
docs: Set the name of this cudaDeviceProp to the given name
  
  @param nameString The name for this cudaDeviceProp