public bool FindProfileNumForDeviceAndSetIfExists(ComputeDevice device, Device profile)
 {
     foreach (var profileID in ExistingProfiles.Reverse())
     {
         var foundProfile = profile.op.Where(x => x.id == profileID).FirstOrDefault();
         if (foundProfile == null)
         {
             continue;
         }
         var memoryTimings = BuildMTString(foundProfile);
         if (memoryTimings == string.Empty)
         {
             continue;
         }
         var ret = device.TrySetMemoryTimings(memoryTimings);
         //TODO SET OTHER STUFF FOR DEVICE HERE
         if (ret >= RET_OK)
         {
             return(true);
         }
         return(false);
     }
     return(false);
 }