«Сохраните приведенный выше код в файл с именем openblas_test.py в текущем каталоге и выполните следующие команды:»объясните в каком текущем каталоге это нужно сохранить? не совсем понимаю! можно подробнее
Не подскажите(5 пункт) как сделать так, чтобы создавалось не новая вкладка, а новое окно? И возможно ли запустить 1 раз, а потом не создавая новую вкладку просто обновлять содержимое окна?
При попытке сделать make сэмплов выскакивает куча ошибок:
make[1]: вход в каталог «/home/olezha/NVIDIA_CUDA-7.5_Samples/0_Simple/cppOverload»
"/usr/local/cuda-7.5"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_52,code=compute_52 -o cppOverload.o -c cppOverload.cu
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h(436): error: identifier «nullptr» is undefined
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h(436): error: expected a ";"
/usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h(205): error: expected a ";"
/usr/include/c++/6/exception(63): error: expected a ";"
/usr/include/c++/6/exception(69): error: expected a ";"
/usr/include/c++/6/exception(77): error: expected a ";"
/usr/include/c++/6/exception(85): error: expected a ";"
/usr/include/c++/6/exception(95): error: expected a "{"
/usr/include/c++/6/bits/exception_ptr.h(64): error: function «std::current_exception» returns incomplete type «std::__exception_ptr::exception_ptr»
/usr/include/c++/6/bits/exception_ptr.h(64): error: expected a "{"
/usr/include/c++/6/bits/exception_ptr.h(71): error: namespace «std» has no member «rethrow_exception»
/usr/include/c++/6/bits/exception_ptr.h(81): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(83): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(84): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(86): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(88): error: declaration is incompatible with previous «std::current_exception»
(64): here
/usr/include/c++/6/bits/exception_ptr.h(88): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(88): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(89): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(92): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(94): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(97): error: incomplete type is not allowed
/usr/include/c++/6/bits/exception_ptr.h(97): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(118): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(128): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(145): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(146): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(149): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(154): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(155): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(158): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(159): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(162): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(163): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(171): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(197): error: expected a ";"
/usr/include/c++/6/bits/move.h(47): error: expected a ";"
/usr/include/c++/6/type_traits(71): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(71): error: template parameter "_Tp" may not be redeclared in this scope
/usr/include/c++/6/type_traits(71): error: expected a ";"
/usr/include/c++/6/type_traits(72): error: member «std::integral_constant<_Tp, __v>::_Tp» is not a type name
/usr/include/c++/6/type_traits(73): error: member «std::integral_constant<_Tp, __v>::_Tp» is not a type name
/usr/include/c++/6/type_traits(74): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(79): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(79): error: «value_type» has already been declared in the current scope
/usr/include/c++/6/type_traits(79): error: expected a ";"
/usr/include/c++/6/type_traits(84): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(84): error: "_Tp" is not a function or static data member
/usr/include/c++/6/type_traits(93): error: expected a declaration
/usr/include/c++/6/type_traits(93): error: expected a ";"
/usr/include/c++/6/type_traits(126): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(242): error: identifier «char16_t» is undefined
/usr/include/c++/6/type_traits(246): error: identifier «char32_t» is undefined
/usr/include/c++/6/type_traits(246): error: class «std::__is_integral_helper<<error-type>>» has already been defined
/usr/include/c++/6/type_traits(344): error: identifier "__float128" is undefined
/usr/include/c++/6/type_traits(460): error: expected a ">"
/usr/include/c++/6/type_traits(464): error: expected a ">"
/usr/include/c++/6/type_traits(472): error: expected a ">"
/usr/include/c++/6/type_traits(476): error: expected a ">"
/usr/include/c++/6/type_traits(484): error: expected a ">"
/usr/include/c++/6/type_traits(488): error: expected a ">"
/usr/include/c++/6/type_traits(496): error: expected a ">"
/usr/include/c++/6/type_traits(500): error: expected a ">"
/usr/include/c++/6/type_traits(508): error: expected a ">"
/usr/include/c++/6/type_traits(512): error: expected a ">"
/usr/include/c++/6/type_traits(520): error: expected a ">"
/usr/include/c++/6/type_traits(524): error: expected a ">"
/usr/include/c++/6/type_traits(532): error: expected a ">"
/usr/include/c++/6/type_traits(536): error: expected a ">"
/usr/include/c++/6/type_traits(544): error: expected a ">"
/usr/include/c++/6/type_traits(548): error: expected a ">"
/usr/include/c++/6/type_traits(558): error: namespace «std» has no member «nullptr_t»
/usr/include/c++/6/type_traits(579): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(585): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(592): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(599): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(609): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(635): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(745): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(759): error: expected a ";"
/usr/include/c++/6/type_traits(774): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(784): error: expected a ")"
/usr/include/c++/6/type_traits(795): error: an explicit template argument list is not allowed on this declaration
/usr/include/c++/6/type_traits(795): error: expected a type specifier
/usr/include/c++/6/type_traits(795): error: function returning function is not allowed
/usr/include/c++/6/type_traits(795): error: expected a ";"
/usr/include/c++/6/type_traits(801): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(802): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(832): error: identifier «noexcept» is undefined
/usr/include/c++/6/type_traits(832): error: function call is not allowed in a constant expression
/usr/include/c++/6/type_traits(832): error: function call is not allowed in a constant expression
/usr/include/c++/6/type_traits(832): error: this operator is not allowed in a template argument expression
/usr/include/c++/6/type_traits(843): error: an explicit template argument list is not allowed on this declaration
/usr/include/c++/6/type_traits(843): error: expected a type specifier
/usr/include/c++/6/type_traits(843): error: function returning function is not allowed
/usr/include/c++/6/type_traits(843): error: expected a ";"
/usr/include/c++/6/type_traits(849): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(850): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(875): error: function returning function is not allowed
/usr/include/c++/6/type_traits(886): error: an explicit template argument list is not allowed on this declaration
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_0000080e_00000000-22_cppOverload.compute_52.cpp1.ii".
Compilation terminated.
Makefile:229: ошибка выполнения рецепта для цели «cppOverload.o»
make[1]: *** [cppOverload.o] Ошибка 4
make[1]: выход из каталога «/home/olezha/NVIDIA_CUDA-7.5_Samples/0_Simple/cppOverload»
Makefile:52: ошибка выполнения рецепта для цели «0_Simple/cppOverload/Makefile.ph_build»
make: *** [0_Simple/cppOverload/Makefile.ph_build] Ошибка 2
make[1]: вход в каталог «/home/olezha/NVIDIA_CUDA-7.5_Samples/0_Simple/cppOverload»
"/usr/local/cuda-7.5"/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_52,code=compute_52 -o cppOverload.o -c cppOverload.cu
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h(436): error: identifier «nullptr» is undefined
/usr/lib/gcc/x86_64-linux-gnu/6/include/stddef.h(436): error: expected a ";"
/usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h(205): error: expected a ";"
/usr/include/c++/6/exception(63): error: expected a ";"
/usr/include/c++/6/exception(69): error: expected a ";"
/usr/include/c++/6/exception(77): error: expected a ";"
/usr/include/c++/6/exception(85): error: expected a ";"
/usr/include/c++/6/exception(95): error: expected a "{"
/usr/include/c++/6/bits/exception_ptr.h(64): error: function «std::current_exception» returns incomplete type «std::__exception_ptr::exception_ptr»
/usr/include/c++/6/bits/exception_ptr.h(64): error: expected a "{"
/usr/include/c++/6/bits/exception_ptr.h(71): error: namespace «std» has no member «rethrow_exception»
/usr/include/c++/6/bits/exception_ptr.h(81): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(83): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(84): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(86): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(88): error: declaration is incompatible with previous «std::current_exception»
(64): here
/usr/include/c++/6/bits/exception_ptr.h(88): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(88): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(89): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(92): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(94): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(97): error: incomplete type is not allowed
/usr/include/c++/6/bits/exception_ptr.h(97): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(118): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(128): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(145): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(146): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(149): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(154): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(155): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(158): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(159): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(162): error: use of a local type to declare a function
/usr/include/c++/6/bits/exception_ptr.h(163): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(171): error: expected a ";"
/usr/include/c++/6/bits/exception_ptr.h(197): error: expected a ";"
/usr/include/c++/6/bits/move.h(47): error: expected a ";"
/usr/include/c++/6/type_traits(71): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(71): error: template parameter "_Tp" may not be redeclared in this scope
/usr/include/c++/6/type_traits(71): error: expected a ";"
/usr/include/c++/6/type_traits(72): error: member «std::integral_constant<_Tp, __v>::_Tp» is not a type name
/usr/include/c++/6/type_traits(73): error: member «std::integral_constant<_Tp, __v>::_Tp» is not a type name
/usr/include/c++/6/type_traits(74): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(79): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(79): error: «value_type» has already been declared in the current scope
/usr/include/c++/6/type_traits(79): error: expected a ";"
/usr/include/c++/6/type_traits(84): error: identifier «constexpr» is undefined
/usr/include/c++/6/type_traits(84): error: "_Tp" is not a function or static data member
/usr/include/c++/6/type_traits(93): error: expected a declaration
/usr/include/c++/6/type_traits(93): error: expected a ";"
/usr/include/c++/6/type_traits(126): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(242): error: identifier «char16_t» is undefined
/usr/include/c++/6/type_traits(246): error: identifier «char32_t» is undefined
/usr/include/c++/6/type_traits(246): error: class «std::__is_integral_helper<<error-type>>» has already been defined
/usr/include/c++/6/type_traits(344): error: identifier "__float128" is undefined
/usr/include/c++/6/type_traits(460): error: expected a ">"
/usr/include/c++/6/type_traits(464): error: expected a ">"
/usr/include/c++/6/type_traits(472): error: expected a ">"
/usr/include/c++/6/type_traits(476): error: expected a ">"
/usr/include/c++/6/type_traits(484): error: expected a ">"
/usr/include/c++/6/type_traits(488): error: expected a ">"
/usr/include/c++/6/type_traits(496): error: expected a ">"
/usr/include/c++/6/type_traits(500): error: expected a ">"
/usr/include/c++/6/type_traits(508): error: expected a ">"
/usr/include/c++/6/type_traits(512): error: expected a ">"
/usr/include/c++/6/type_traits(520): error: expected a ">"
/usr/include/c++/6/type_traits(524): error: expected a ">"
/usr/include/c++/6/type_traits(532): error: expected a ">"
/usr/include/c++/6/type_traits(536): error: expected a ">"
/usr/include/c++/6/type_traits(544): error: expected a ">"
/usr/include/c++/6/type_traits(548): error: expected a ">"
/usr/include/c++/6/type_traits(558): error: namespace «std» has no member «nullptr_t»
/usr/include/c++/6/type_traits(579): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(585): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(592): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(599): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(609): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(635): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(745): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(759): error: expected a ";"
/usr/include/c++/6/type_traits(774): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(784): error: expected a ")"
/usr/include/c++/6/type_traits(795): error: an explicit template argument list is not allowed on this declaration
/usr/include/c++/6/type_traits(795): error: expected a type specifier
/usr/include/c++/6/type_traits(795): error: function returning function is not allowed
/usr/include/c++/6/type_traits(795): error: expected a ";"
/usr/include/c++/6/type_traits(801): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(802): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(832): error: identifier «noexcept» is undefined
/usr/include/c++/6/type_traits(832): error: function call is not allowed in a constant expression
/usr/include/c++/6/type_traits(832): error: function call is not allowed in a constant expression
/usr/include/c++/6/type_traits(832): error: this operator is not allowed in a template argument expression
/usr/include/c++/6/type_traits(843): error: an explicit template argument list is not allowed on this declaration
/usr/include/c++/6/type_traits(843): error: expected a type specifier
/usr/include/c++/6/type_traits(843): error: function returning function is not allowed
/usr/include/c++/6/type_traits(843): error: expected a ";"
/usr/include/c++/6/type_traits(849): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(850): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
/usr/include/c++/6/type_traits(875): error: function returning function is not allowed
/usr/include/c++/6/type_traits(886): error: an explicit template argument list is not allowed on this declaration
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_0000080e_00000000-22_cppOverload.compute_52.cpp1.ii".
Compilation terminated.
Makefile:229: ошибка выполнения рецепта для цели «cppOverload.o»
make[1]: *** [cppOverload.o] Ошибка 4
make[1]: выход из каталога «/home/olezha/NVIDIA_CUDA-7.5_Samples/0_Simple/cppOverload»
Makefile:52: ошибка выполнения рецепта для цели «0_Simple/cppOverload/Makefile.ph_build»
make: *** [0_Simple/cppOverload/Makefile.ph_build] Ошибка 2
Посмотрите еще вот эту статью на хабре "Быстрое кодирование видео в Linux c Nvidia NVENC с SDK 7.5 и ffmpeg 3.0.2 на Nvidia GTX 960/970/980"
никакого NVENC не поставилось
зря качал 2 гб
Mint 18.1 x64