Project

General

Profile

Bug #1765

the OpenCL build does not compile

Added by Szilárd Páll over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
core library
Target version:
Affected version - extra info:
4372f13dd72303b63e71850493246227dac177fd
Affected version:
Difficulty:
uncategorized
Close

Description

 Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp.o
/nethome/pszilard/projects/gromacs/gromacs-master/src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp: In function ‘void nbnxn_gpu_free(gmx_nbnxn_ocl_t*)’:
/nethome/pszilard/projects/gromacs/gromacs-master/src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp:1068:13: error: ‘struct gmx_nbnxn_ocl_t’ has no member named ‘misc_ops_and_local_H2D_done’
     if (nb->misc_ops_and_local_H2D_done)
             ^
/nethome/pszilard/projects/gromacs/gromacs-master/src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp:1070:28: error: ‘struct gmx_nbnxn_ocl_t’ has no member named ‘misc_ops_and_local_H2D_done’
         clReleaseEvent(nb->misc_ops_and_local_H2D_done);
                            ^
/nethome/pszilard/projects/gromacs/gromacs-master/src/gromacs/mdlib/nbnxn_ocl/nbnxn_ocl_data_mgmt.cpp:1071:13: error: ‘struct gmx_nbnxn_ocl_t’ has no member named ‘misc_ops_and_local_H2D_done’
         nb->misc_ops_and_local_H2D_done = NULL;
             ^

Associated revisions

Revision 90fdc92d (diff)
Added by Szilárd Páll over 4 years ago

Fix OpenCL compilation errors.

Fixes a typo in a structure. Also fixes an incorrect
variable name only visible on OS X.

Fixes #1765

Change-Id: I0ee0f61da1f036163aa85f719ef9ceb0dab06868

History

#1 Updated by Gerrit Code Review Bot over 4 years ago

Gerrit received a related patchset '2' for Issue #1765.
Uploader: Szilárd Páll ()
Change-Id: I0ee0f61da1f036163aa85f719ef9ceb0dab06868
Gerrit URL: https://gerrit.gromacs.org/4826

#2 Updated by Szilárd Páll over 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#3 Updated by Szilárd Páll over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF