getVal seems to work

This commit is contained in:
Robin committed 2024-12-21 14:17:39 +01:00
1 parent 4b06f289b8
commit a7ad248c38
6 files changed
+39 -50

No files matched your search

-4
View File
@@ -21,8 +21,6 @@ path(path), variableName(variableName) {
readAndAllocateAxis<double>(&fmd->levs, &fmd->depthSize, vars.find("lev")->second);
}
FieldData GPUBuffer::nextFieldData() {
NcFile data(path, NcFile::read);
@@ -47,8 +45,6 @@ FieldData GPUBuffer::nextFieldData() {
var.getVar(h_array);
// Copy data to device
// float *d_array;
cudaError_t status = cudaMalloc(&fd.valArrays[0], sizeof(float)*length);
if (status != cudaSuccess)
cout << "Error allocating memory: " << status << "\n";
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.