mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-27 00:48:13 +00:00
Kernel Compile: Removed -cl-std= from all kernel build options since we're compatible to all OpenCL versions
This commit is contained in:
parent
f424dd1edb
commit
5f3d9e08b9
@ -67,6 +67,7 @@
|
|||||||
- Binary Distribution: Removed 32 bit binary executables
|
- Binary Distribution: Removed 32 bit binary executables
|
||||||
- Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100
|
- Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100
|
||||||
- Kernel Cache: Reactivate OpenCL runtime specific kernel caches
|
- Kernel Cache: Reactivate OpenCL runtime specific kernel caches
|
||||||
|
- Kernel Compile: Removed -cl-std= from all kernel build options since we're compatible to all OpenCL versions
|
||||||
- Mode 16800/16801 hash format: Changed separator character from '*' to ':'
|
- Mode 16800/16801 hash format: Changed separator character from '*' to ':'
|
||||||
- Requirements: Update runtime check for minimum NVIDIA driver version from 367.x to 418.56 or later
|
- Requirements: Update runtime check for minimum NVIDIA driver version from 367.x to 418.56 or later
|
||||||
|
|
||||||
|
@ -357,7 +357,7 @@ static bool test_instruction (hashcat_ctx_t *hashcat_ctx, cl_context context, cl
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CL_rc = ocl->clBuildProgram (program, 1, &device, "-cl-std=CL1.0 -Werror", NULL, NULL); // do not use the wrapper to avoid the error message
|
CL_rc = ocl->clBuildProgram (program, 1, &device, "-Werror", NULL, NULL); // do not use the wrapper to avoid the error message
|
||||||
|
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
#ifndef _WIN
|
#ifndef _WIN
|
||||||
@ -4940,9 +4940,9 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
|
|||||||
int build_options_len = 0;
|
int build_options_len = 0;
|
||||||
|
|
||||||
#if defined (_WIN)
|
#if defined (_WIN)
|
||||||
build_options_len += snprintf (build_options_buf + build_options_len, build_options_sz - build_options_len, "-D KERNEL_STATIC -cl-std=CL1.2 -I OpenCL -I \"%s\" ", folder_config->cpath_real);
|
build_options_len += snprintf (build_options_buf + build_options_len, build_options_sz - build_options_len, "-D KERNEL_STATIC -I OpenCL -I \"%s\" ", folder_config->cpath_real);
|
||||||
#else
|
#else
|
||||||
build_options_len += snprintf (build_options_buf + build_options_len, build_options_sz - build_options_len, "-D KERNEL_STATIC -cl-std=CL1.2 -I OpenCL -I %s ", folder_config->cpath_real);
|
build_options_len += snprintf (build_options_buf + build_options_len, build_options_sz - build_options_len, "-D KERNEL_STATIC -I OpenCL -I %s ", folder_config->cpath_real);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// we don't have sm_* on vendors not NV but it doesn't matter
|
// we don't have sm_* on vendors not NV but it doesn't matter
|
||||||
|
Loading…
Reference in New Issue
Block a user