naming: comments and log lines say control vector, not speed projection

This commit is contained in:
C_Tamas authored and StillDeadcode committed 2026-10-21 09:26:17 +02:00
1 parent 3e9e0f4d03
commit 40f7390766
13 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -284,7 +284,7 @@ const float* control_vector_upload(const ControlVector& cv, int rank) {
const int64_t bytes = (int64_t) cv.dir.size() * 4;
void* d = rad_dev_alloc(bytes, RAD_MEM_DEVICE);
if (!d) {
RAD_ERR("speed projection: rank %d: could not allocate %.2f MiB on the card for the "
RAD_ERR("control vector: rank %d: could not allocate %.2f MiB on the card for the "
"directions", rank, (double) bytes / (1024.0 * 1024.0));
return nullptr;
}
@@ -297,7 +297,7 @@ const float* control_vector_upload(const ControlVector& cv, int rank) {
rad_stream_sync(s);
rad_stream_destroy(s);
if (rc < 0) {
RAD_ERR("speed projection: rank %d: uploading the directions failed: %s", rank,
RAD_ERR("control vector: rank %d: uploading the directions failed: %s", rank,
rad_dev_last_error());
rad_dev_free(d, RAD_MEM_DEVICE);
return nullptr;