octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59160] [Forge] Error installing OCL package,


From: anonymous
Subject: [Octave-bug-tracker] [bug #59160] [Forge] Error installing OCL package, "explicit specialization after instantiation"
Date: Tue, 22 Sep 2020 14:33:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #2, bug #59160 (project octave):

The post is too long to show?

To reproduce: run "pkg install -forge ocl"

Errors: 


ocl_array.cc:2066:1: error: explicit specialization of 'array_prog' after
instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true 
);
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:263:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2066:1: error: explicit specialization of 'kernel_indices' after
instantiation
SPECIALIZE_OCLARRAY (FloatComplex,   single,  float2,   false,  false,  true 
);
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int>
(); \
                                            ^
ocl_array.cc:261:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^
ocl_array.cc:2067:1: error: explicit specialization of 'array_prog' after
instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true 
);
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
                                      ^
ocl_array.cc:243:3: note: implicit instantiation first required here
  array_prog.set_kernel_arg (kernel_index, 0, *this);
  ^
ocl_array.cc:2067:1: error: explicit specialization of 'kernel_indices' after
instantiation
SPECIALIZE_OCLARRAY (Complex,        double,  double2,  false,  false,  true 
);
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
  template <> std::vector<int> OclArray<T>::kernel_indices  = std::vector<int>
(); \
                                            ^
ocl_array.cc:241:22: note: implicit instantiation first required here
  int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
                     ^


ending with


error: pkg: error running 'make' for the ocl package.
error: called from
    configure_make at line 110 column 9
    install at line 196 column 7
    pkg at line 568 column 9



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59160>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]