Skip to content

Commit e6ed6b2

Browse files
committed
Test of poisoning
1 parent 998debe commit e6ed6b2

File tree

2 files changed

+74
-74
lines changed

2 files changed

+74
-74
lines changed

.github/workflows/pr_push.yml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -16,80 +16,80 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
DocsBuild:
22-
uses: ./.github/workflows/reusable_docs_build.yml
23-
FastBuild:
24-
name: Fast builds
25-
needs: [CodeChecks, DocsBuild]
26-
uses: ./.github/workflows/reusable_fast.yml
27-
Build:
28-
name: Basic builds
29-
needs: [FastBuild]
30-
uses: ./.github/workflows/reusable_basic.yml
31-
DevDax:
32-
needs: [FastBuild]
33-
uses: ./.github/workflows/reusable_dax.yml
34-
MultiNuma:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_multi_numa.yml
19+
# CodeChecks:
20+
# uses: ./.github/workflows/reusable_checks.yml
21+
# DocsBuild:
22+
# uses: ./.github/workflows/reusable_docs_build.yml
23+
# FastBuild:
24+
# name: Fast builds
25+
# needs: [CodeChecks, DocsBuild]
26+
# uses: ./.github/workflows/reusable_fast.yml
27+
# Build:
28+
# name: Basic builds
29+
# needs: [FastBuild]
30+
# uses: ./.github/workflows/reusable_basic.yml
31+
# DevDax:
32+
# needs: [FastBuild]
33+
# uses: ./.github/workflows/reusable_dax.yml
34+
# MultiNuma:
35+
# needs: [FastBuild]
36+
# uses: ./.github/workflows/reusable_multi_numa.yml
3737
L0:
38-
needs: [Build]
38+
# needs: [Build]
3939
uses: ./.github/workflows/reusable_gpu.yml
4040
with:
4141
name: "LEVEL_ZERO"
4242
shared_lib: "['ON']"
4343
CUDA:
44-
needs: [Build]
44+
# needs: [Build]
4545
uses: ./.github/workflows/reusable_gpu.yml
4646
with:
4747
name: "CUDA"
4848
shared_lib: "['ON']"
49-
Sanitizers:
50-
needs: [FastBuild]
51-
uses: ./.github/workflows/reusable_sanitizers.yml
52-
QEMU:
53-
needs: [FastBuild]
54-
uses: ./.github/workflows/reusable_qemu.yml
55-
with:
56-
short_run: true
57-
ProxyLib:
58-
needs: [Build]
59-
uses: ./.github/workflows/reusable_proxy_lib.yml
60-
Valgrind:
61-
needs: [Build]
62-
uses: ./.github/workflows/reusable_valgrind.yml
63-
Coverage:
64-
# total coverage (on upstream only)
65-
if: github.repository == 'oneapi-src/unified-memory-framework'
66-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
67-
uses: ./.github/workflows/reusable_coverage.yml
68-
secrets: inherit
69-
with:
70-
trigger: "${{github.event_name}}"
71-
Coverage_partial:
72-
# partial coverage (on forks)
73-
if: github.repository != 'oneapi-src/unified-memory-framework'
74-
needs: [Build, QEMU, ProxyLib]
75-
uses: ./.github/workflows/reusable_coverage.yml
76-
CodeQL:
77-
needs: [Build]
78-
permissions:
79-
contents: read
80-
security-events: write
81-
uses: ./.github/workflows/reusable_codeql.yml
82-
Trivy:
83-
needs: [Build]
84-
permissions:
85-
contents: read
86-
security-events: write
87-
uses: ./.github/workflows/reusable_trivy.yml
88-
Compatibility:
89-
needs: [Build]
90-
uses: ./.github/workflows/reusable_compatibility.yml
91-
strategy:
92-
matrix:
93-
tag: ["v0.11.0-dev1"]
94-
with:
95-
tag: ${{matrix.tag}}
49+
# Sanitizers:
50+
# needs: [FastBuild]
51+
# uses: ./.github/workflows/reusable_sanitizers.yml
52+
# QEMU:
53+
# needs: [FastBuild]
54+
# uses: ./.github/workflows/reusable_qemu.yml
55+
# with:
56+
# short_run: true
57+
# ProxyLib:
58+
# needs: [Build]
59+
# uses: ./.github/workflows/reusable_proxy_lib.yml
60+
# Valgrind:
61+
# needs: [Build]
62+
# uses: ./.github/workflows/reusable_valgrind.yml
63+
# Coverage:
64+
# # total coverage (on upstream only)
65+
# if: github.repository == 'oneapi-src/unified-memory-framework'
66+
# needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
67+
# uses: ./.github/workflows/reusable_coverage.yml
68+
# secrets: inherit
69+
# with:
70+
# trigger: "${{github.event_name}}"
71+
# Coverage_partial:
72+
# # partial coverage (on forks)
73+
# if: github.repository != 'oneapi-src/unified-memory-framework'
74+
# needs: [Build, QEMU, ProxyLib]
75+
# uses: ./.github/workflows/reusable_coverage.yml
76+
# CodeQL:
77+
# needs: [Build]
78+
# permissions:
79+
# contents: read
80+
# security-events: write
81+
# uses: ./.github/workflows/reusable_codeql.yml
82+
# Trivy:
83+
# needs: [Build]
84+
# permissions:
85+
# contents: read
86+
# security-events: write
87+
# uses: ./.github/workflows/reusable_trivy.yml
88+
# Compatibility:
89+
# needs: [Build]
90+
# uses: ./.github/workflows/reusable_compatibility.yml
91+
# strategy:
92+
# matrix:
93+
# tag: ["v0.11.0-dev1"]
94+
# with:
95+
# tag: ${{matrix.tag}}

src/pool/pool_disjoint.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
#include "utils_log.h"
2626
#include "utils_math.h"
2727

28-
// Temporary solution for disabling memory poisoning. This is needed because
29-
// AddressSanitizer does not support memory poisoning for GPU allocations.
30-
// More info: https://github.com/oneapi-src/unified-memory-framework/issues/634
31-
#ifndef POISON_MEMORY
32-
#undef __SANITIZE_ADDRESS__
33-
#endif
34-
#include "utils_sanitizers.h"
28+
// // Temporary solution for disabling memory poisoning. This is needed because
29+
// // AddressSanitizer does not support memory poisoning for GPU allocations.
30+
// // More info: https://github.com/oneapi-src/unified-memory-framework/issues/634
31+
// #ifndef POISON_MEMORY
32+
// #undef __SANITIZE_ADDRESS__
33+
// #endif
34+
// #include "utils_sanitizers.h"
3535

3636
// Forward declarations
3737
static void bucket_update_stats(bucket_t *bucket, int in_use, int in_pool);

0 commit comments

Comments
 (0)