eigen/unsupported/test
Antonio Sanchez 6961468915 Address issues with openglsupport test.
The existing test fails on several systems due to GL runtime version mismatches,
the use of deprecated features, and memory errors due to improper use of GLUT.
The test was modified to:

- Run within a display function, allowing proper GLUT cleanup.
- Generate dynamic shaders with a supported GLSL version string and output variables.
- Report shader compilation errors.
- Check GL context version before launching version-specific tests.

Note that most of the existing `OpenGLSupport` module and tests rely on deprecated
features (e.g. fixed-function pipeline). The test was modified to allow it to
pass on various systems. We might want to consider removing the module or re-writing
it entirely to support modern OpenGL.  This is beyond the scope of this patch.

Testing of legacy GL (for platforms that support it) can be enabled by defining
`EIGEN_LEGACY_OPENGL`.  Otherwise, the test will try to create a modern context.

Tested on
- MacBook Air (2019), macOS Catalina 10.15.7 (OpenGL 2.1, 4.1)
- Debian 10.6, NVidia Quadro K1200 (OpenGL 3.1, 3.3)
2020-11-11 15:54:43 -08:00
..
mpreal Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
alignedvector3.cpp fix AlignedVector3 inconsisent interface with other Vector classes, default constructor and operator- were missing. 2019-12-06 21:07:39 +01:00
autodiff_scalar.cpp
autodiff.cpp bug #1281: fix AutoDiffScalar's make_coherent for nested expression of constant ADs. 2019-11-14 14:58:08 +01:00
bessel_functions.cpp Merging eigen/eigen. 2019-09-16 19:33:29 -04:00
BVH.cpp
CMakeLists.txt CMakefile update for ROCm 4.0 2020-10-29 18:06:31 +00:00
cxx11_eventcount.cpp A) fix deadlocks in thread pool caused by EventCount 2019-05-08 10:16:46 -07:00
cxx11_maxsizevector.cpp
cxx11_meta.cpp
cxx11_non_blocking_thread_pool.cpp
cxx11_runqueue.cpp
cxx11_tensor_argmax_gpu.cu
cxx11_tensor_argmax_sycl.cpp Update FindComputeCpp.cmake to fix build problems on Windows 2020-06-05 20:51:20 +00:00
cxx11_tensor_argmax.cpp
cxx11_tensor_assign.cpp
cxx11_tensor_block_access.cpp Tensor block evaluation cost model 2019-12-18 20:07:00 +00:00
cxx11_tensor_block_eval.cpp Extend support for Packet16b: 2020-04-28 16:12:47 +00:00
cxx11_tensor_block_io.cpp Extend support for Packet16b: 2020-04-28 16:12:47 +00:00
cxx11_tensor_broadcast_sycl.cpp
cxx11_tensor_broadcasting.cpp Tensor block evaluation V2 support for unary/binary/broadcsting 2019-09-24 12:52:45 -07:00
cxx11_tensor_builtins_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_cast_float16_gpu.cu
cxx11_tensor_casts.cpp Fix tensor casts for large packets and casts to/from std::complex 2020-06-30 18:53:55 +00:00
cxx11_tensor_chipping_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_chipping.cpp
cxx11_tensor_comparisons.cpp
cxx11_tensor_complex_cwise_ops_gpu.cu Disable test for 32-bit systems (e.g. ARM, i386) 2020-05-28 17:40:15 +00:00
cxx11_tensor_complex_gpu.cu
cxx11_tensor_concatenation_sycl.cpp
cxx11_tensor_concatenation.cpp
cxx11_tensor_const.cpp
cxx11_tensor_contract_gpu.cu
cxx11_tensor_contract_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_contraction.cpp Extend support for Packet16b: 2020-04-28 16:12:47 +00:00
cxx11_tensor_convolution_sycl.cpp
cxx11_tensor_convolution.cpp
cxx11_tensor_custom_index.cpp
cxx11_tensor_custom_op_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_custom_op.cpp
cxx11_tensor_device_sycl.cpp
cxx11_tensor_device.cu
cxx11_tensor_dimension.cpp
cxx11_tensor_empty.cpp
cxx11_tensor_executor.cpp Remove legacy block evaluation support 2019-11-12 10:12:28 -08:00
cxx11_tensor_expr.cpp Remove leftover debug print statement in cxx11_tensor_expr.cpp 2020-10-14 22:59:51 +00:00
cxx11_tensor_fft.cpp Disable test for 32-bit systems (e.g. ARM, i386) 2020-05-28 17:40:15 +00:00
cxx11_tensor_fixed_size.cpp
cxx11_tensor_forced_eval_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_forced_eval.cpp Do not create Tensor<const T> in cxx11_tensor_forced_eval test 2019-03-05 11:19:25 -08:00
cxx11_tensor_generator_sycl.cpp
cxx11_tensor_generator.cpp Block evaluation for TensorGeneratorOp 2019-03-05 16:35:21 -08:00
cxx11_tensor_gpu.cu Merging eigen/eigen. 2019-09-16 19:33:29 -04:00
cxx11_tensor_ifft.cpp
cxx11_tensor_image_op_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_image_patch_sycl.cpp
cxx11_tensor_image_patch.cpp
cxx11_tensor_index_list.cpp
cxx11_tensor_inflation_sycl.cpp
cxx11_tensor_inflation.cpp
cxx11_tensor_intdiv.cpp
cxx11_tensor_io.cpp
cxx11_tensor_layout_swap_sycl.cpp
cxx11_tensor_layout_swap.cpp
cxx11_tensor_lvalue.cpp
cxx11_tensor_map.cpp Add test for const TensorMap underlying data mutation 2019-09-03 11:38:39 -07:00
cxx11_tensor_math_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_math.cpp
cxx11_tensor_mixed_indices.cpp
cxx11_tensor_morphing_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_morphing.cpp Remove HasCast and fix packetmath cast tests. 2020-06-11 17:26:56 +00:00
cxx11_tensor_move.cpp
cxx11_tensor_notification.cpp Fix data race in css11_tensor_notification test. 2019-11-08 17:44:50 -08:00
cxx11_tensor_of_complex.cpp
cxx11_tensor_of_const_values.cpp
cxx11_tensor_of_float16_gpu.cu Disable test for 32-bit systems (e.g. ARM, i386) 2020-05-28 17:40:15 +00:00
cxx11_tensor_of_strings.cpp
cxx11_tensor_padding_sycl.cpp
cxx11_tensor_padding.cpp
cxx11_tensor_patch_sycl.cpp
cxx11_tensor_patch.cpp
cxx11_tensor_random_gpu.cu
cxx11_tensor_random_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_random.cpp
cxx11_tensor_reduction_gpu.cu
cxx11_tensor_reduction_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_reduction.cpp Update tensor reduction test to avoid undefined division of bfloat16 by int. 2020-07-22 00:35:51 +00:00
cxx11_tensor_ref.cpp
cxx11_tensor_reverse_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_reverse.cpp
cxx11_tensor_roundings.cpp
cxx11_tensor_scan_gpu.cu
cxx11_tensor_scan_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_scan.cpp
cxx11_tensor_shuffling_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_shuffling.cpp
cxx11_tensor_simple.cpp
cxx11_tensor_striding_sycl.cpp
cxx11_tensor_striding.cpp
cxx11_tensor_sugar.cpp
cxx11_tensor_sycl.cpp [SYCL] Rebasing the SYCL support branch on top of the Einge upstream master branch. 2019-11-28 10:08:54 +00:00
cxx11_tensor_symmetry.cpp
cxx11_tensor_thread_local.cpp Update ThreadLocal to use separate Initialize/Release callables 2019-09-10 16:13:32 -07:00
cxx11_tensor_thread_pool.cpp Add support for asynchronous evaluation of tensor casting expressions. 2019-09-19 13:54:49 -07:00
cxx11_tensor_trace.cpp Make file formatting comply with POSIX and Unix standards 2020-03-23 18:09:02 +00:00
cxx11_tensor_uint128.cpp Disable test for 32-bit systems (e.g. ARM, i386) 2020-05-28 17:40:15 +00:00
cxx11_tensor_volume_patch_sycl.cpp
cxx11_tensor_volume_patch.cpp
dgmres.cpp
EulerAngles.cpp bug #1707: Fix deprecation warnings, or disable warnings when testing deprecated functions 2019-05-10 14:57:05 +02:00
FFT.cpp
FFTW.cpp Implement c++03 compatible fix for changeset 7a43af1a33 2019-10-09 16:00:57 +02:00
forward_adolc.cpp
gmres.cpp
kronecker_product.cpp
levenberg_marquardt.cpp
matrix_exponential.cpp
matrix_function.cpp Bug #1796: Make matrix squareroot usable for Map and Ref types 2019-12-20 18:10:22 +01:00
matrix_functions.h
matrix_power.cpp Fixed most conversion warnings in MatrixFunctions module 2018-11-20 16:23:28 +01:00
matrix_square_root.cpp
minres.cpp
mpreal_support.cpp
NonLinearOptimization.cpp
NumericalDiff.cpp
openglsupport.cpp Address issues with openglsupport test. 2020-11-11 15:54:43 -08:00
polynomialsolver.cpp Various fixes in polynomial solver and its unit tests: 2018-12-09 22:54:39 +01:00
polynomialutils.cpp
sparse_extra.cpp
special_functions.cpp Ensure Igamma does not NaN or Inf for large values. 2020-01-14 21:32:48 +00:00
special_packetmath.cpp Added special_packetmath test and tweaked bounds on tests. 2020-01-11 10:31:21 +00:00
splines.cpp